pub struct GelfHttpOptions {
pub url: String,
pub gzip: bool,
pub bulk: bool,
pub headers: Vec<(String, String)>,
pub config: Option<CommonConfig>,
}Expand description
Options of GelfHttpTransport::new.
Fields§
§url: StringURL of the GELF HTTP input, for example http://graylog:12202/gelf.
gzip: boolgzip-compressed bodies (default true).
bulk: boolOne body of newline-terminated messages per batch (default true); false posts one
request per message (inputs without enable_bulk_receiving).
headers: Vec<(String, String)>Extra request headers (for example the input’s optional authorization header); sensitive values are redacted.
config: Option<CommonConfig>Timeouts, retries, TLS, proxy and hooks (its URL and headers are ignored; None = the
defaults).
Implementations§
Trait Implementations§
Source§impl Clone for GelfHttpOptions
impl Clone for GelfHttpOptions
Auto Trait Implementations§
impl !RefUnwindSafe for GelfHttpOptions
impl !UnwindSafe for GelfHttpOptions
impl Forget for GelfHttpOptions
impl Freeze for GelfHttpOptions
impl Move for GelfHttpOptions
impl Send for GelfHttpOptions
impl Sync for GelfHttpOptions
impl Unpin for GelfHttpOptions
impl UnsafeUnpin for GelfHttpOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more