Type Alias SapiHeaders

Source
pub type SapiHeaders = sapi_headers_struct;
Expand description

Stores SAPI headers. Exposed through SapiGlobals.

Aliased Type§

#[repr(C)]
pub struct SapiHeaders { pub headers: _zend_llist, pub http_response_code: i32, pub send_default_content_type: u8, pub mimetype: *mut i8, pub http_status_line: *mut i8, }

Fields§

§headers: _zend_llist§http_response_code: i32§send_default_content_type: u8§mimetype: *mut i8§http_status_line: *mut i8

Implementations§

Source§

impl<'a> SapiHeaders

Source

pub fn headers(&'a mut self) -> ZendLinkedListIterator<'a, SapiHeader>

Create an iterator over the headers.