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 u8,
pub http_status_line: *mut u8,
}Fields§
§headers: _zend_llist§http_response_code: i32§send_default_content_type: u8§mimetype: *mut u8§http_status_line: *mut u8Implementations§
Source§impl<'a> SapiHeaders
impl<'a> SapiHeaders
Sourcepub fn headers(&'a mut self) -> ZendLinkedListIterator<'a, SapiHeader>
pub fn headers(&'a mut self) -> ZendLinkedListIterator<'a, SapiHeader>
Create an iterator over the headers.