Type Alias SapiHeader
Source pub type SapiHeader = sapi_header_struct;
Expand description
Manage a key/value pair of SAPI headers.
#[repr(C)]
pub struct SapiHeader {
pub header: *mut i8,
pub header_len: usize,
}
Get the header as a string.
Returns None if the header is null, empty or not valid UTF-8.
Returns the header name (key).
Returns None if the header is null, empty or not valid UTF-8.
Returns the header value.
Returns None if the header is null, empty, not valid UTF-8 or has no
value.