Type Alias ngx_http_request_t

Source
pub type ngx_http_request_t = ngx_http_request_s;

Aliased Type§

struct ngx_http_request_t {
Show 76 fields pub signature: u32, pub connection: *mut ngx_connection_s, pub ctx: *mut *mut c_void, pub main_conf: *mut *mut c_void, pub srv_conf: *mut *mut c_void, pub loc_conf: *mut *mut c_void, pub read_event_handler: Option<unsafe extern "C" fn(_: *mut ngx_http_request_s)>, pub write_event_handler: Option<unsafe extern "C" fn(_: *mut ngx_http_request_s)>, pub cache: *mut ngx_http_cache_s, pub upstream: *mut ngx_http_upstream_s, pub upstream_states: *mut ngx_array_t, pub pool: *mut ngx_pool_s, pub header_in: *mut ngx_buf_s, pub headers_in: ngx_http_headers_in_t, pub headers_out: ngx_http_headers_out_t, pub request_body: *mut ngx_http_request_body_t, pub lingering_time: i64, pub start_sec: i64, pub start_msec: usize, pub method: usize, pub http_version: usize, pub request_line: ngx_str_t, pub uri: ngx_str_t, pub args: ngx_str_t, pub exten: ngx_str_t, pub unparsed_uri: ngx_str_t, pub method_name: ngx_str_t, pub http_protocol: ngx_str_t, pub schema: ngx_str_t, pub out: *mut ngx_chain_s, pub main: *mut ngx_http_request_s, pub parent: *mut ngx_http_request_s, pub postponed: *mut ngx_http_postponed_request_s, pub post_subrequest: *mut ngx_http_post_subrequest_t, pub posted_requests: *mut ngx_http_posted_request_s, pub phase_handler: isize, pub content_handler: Option<unsafe extern "C" fn(_: *mut ngx_http_request_s) -> isize>, pub access_code: usize, pub variables: *mut ngx_variable_value_t, pub ncaptures: usize, pub captures: *mut i32, pub captures_data: *mut u8, pub limit_rate: usize, pub limit_rate_after: usize, pub header_size: usize, pub request_length: i64, pub err_status: usize, pub http_connection: *mut ngx_http_connection_t, pub stream: *mut ngx_http_v2_stream_s, pub v3_parse: *mut ngx_http_v3_parse_s, pub log_handler: Option<unsafe extern "C" fn(_: *mut ngx_http_request_s, _: *mut ngx_http_request_s, _: *mut u8, _: usize) -> *mut u8>, pub cleanup: *mut ngx_http_cleanup_s, pub _bitfield_align_1: [u16; 0], pub _bitfield_1: __BindgenBitfieldUnit<[u8; 15]>, pub state: usize, pub header_hash: usize, pub lowcase_index: usize, pub lowcase_header: [u8; 32], pub header_name_start: *mut u8, pub header_name_end: *mut u8, pub header_start: *mut u8, pub header_end: *mut u8, pub uri_start: *mut u8, pub uri_end: *mut u8, pub uri_ext: *mut u8, pub args_start: *mut u8, pub request_start: *mut u8, pub request_end: *mut u8, pub method_end: *mut u8, pub schema_start: *mut u8, pub schema_end: *mut u8, pub host_start: *mut u8, pub host_end: *mut u8, pub _bitfield_align_2: [u16; 0], pub _bitfield_2: __BindgenBitfieldUnit<[u8; 4]>, pub __bindgen_padding_0: u32,
}

Fields§

§signature: u32§connection: *mut ngx_connection_s§ctx: *mut *mut c_void§main_conf: *mut *mut c_void§srv_conf: *mut *mut c_void§loc_conf: *mut *mut c_void§read_event_handler: Option<unsafe extern "C" fn(_: *mut ngx_http_request_s)>§write_event_handler: Option<unsafe extern "C" fn(_: *mut ngx_http_request_s)>§cache: *mut ngx_http_cache_s§upstream: *mut ngx_http_upstream_s§upstream_states: *mut ngx_array_t§pool: *mut ngx_pool_s§header_in: *mut ngx_buf_s§headers_in: ngx_http_headers_in_t§headers_out: ngx_http_headers_out_t§request_body: *mut ngx_http_request_body_t§lingering_time: i64§start_sec: i64§start_msec: usize§method: usize§http_version: usize§request_line: ngx_str_t§uri: ngx_str_t§args: ngx_str_t§exten: ngx_str_t§unparsed_uri: ngx_str_t§method_name: ngx_str_t§http_protocol: ngx_str_t§schema: ngx_str_t§out: *mut ngx_chain_s§main: *mut ngx_http_request_s§parent: *mut ngx_http_request_s§postponed: *mut ngx_http_postponed_request_s§post_subrequest: *mut ngx_http_post_subrequest_t§posted_requests: *mut ngx_http_posted_request_s§phase_handler: isize§content_handler: Option<unsafe extern "C" fn(_: *mut ngx_http_request_s) -> isize>§access_code: usize§variables: *mut ngx_variable_value_t§ncaptures: usize§captures: *mut i32§captures_data: *mut u8§limit_rate: usize§limit_rate_after: usize§header_size: usize§request_length: i64§err_status: usize§http_connection: *mut ngx_http_connection_t§stream: *mut ngx_http_v2_stream_s§v3_parse: *mut ngx_http_v3_parse_s§log_handler: Option<unsafe extern "C" fn(_: *mut ngx_http_request_s, _: *mut ngx_http_request_s, _: *mut u8, _: usize) -> *mut u8>§cleanup: *mut ngx_http_cleanup_s§_bitfield_align_1: [u16; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 15]>§state: usize§header_hash: usize§lowcase_index: usize§lowcase_header: [u8; 32]§header_name_start: *mut u8§header_name_end: *mut u8§header_start: *mut u8§header_end: *mut u8§uri_start: *mut u8§uri_end: *mut u8§uri_ext: *mut u8§args_start: *mut u8§request_start: *mut u8§request_end: *mut u8§method_end: *mut u8§schema_start: *mut u8§schema_end: *mut u8§host_start: *mut u8§host_end: *mut u8§_bitfield_align_2: [u16; 0]§_bitfield_2: __BindgenBitfieldUnit<[u8; 4]>§__bindgen_padding_0: u32

Trait Implementations§

Source§

impl HttpModuleConfExt for ngx_http_request_t

Source§

unsafe fn http_main_conf_unchecked<T>( &self, module: &ngx_module_t, ) -> Option<NonNull<T>>

Get a non-null reference to the main configuration structure for HTTP module Read more
Source§

unsafe fn http_server_conf_unchecked<T>( &self, module: &ngx_module_t, ) -> Option<NonNull<T>>

Get a non-null reference to the server configuration structure for HTTP module Read more
Source§

unsafe fn http_location_conf_unchecked<T>( &self, module: &ngx_module_t, ) -> Option<NonNull<T>>

Get a non-null reference to the location configuration structure for HTTP module Read more