MCPcopy Create free account

hub / github.com/SergejJurecko/mio_httpc / functions

Functions437 in github.com/SergejJurecko/mio_httpc

Methodinsecure_do_not_verify_domain
Default secure. Turn off domain verification over ssl. This should only be used when testing as you are throwing away a big part of ssl security.
src/api/builder.rs:322
Methodis_call
For quick comparison with httpc::event response. If cid is none will return false.
src/api/simple_call.rs:62
Methodis_empty
(&self)
src/api/simple_call.rs:168
Methodis_empty
(&self)
src/api/websocket.rs:108
Methodis_opt_call
If using Option<WebSocket> in a struct, you can quickly compare callid from httpc::event. If either is none will return false.
src/api/websocket.rs:138
Methodis_opt_callid
If using Option<SimpleCall> in a struct, you can quickly compare callid from httpc::event. If either is none will return false.
src/api/simple_call.rs:71
Methodis_receiving
Are we in receiving state
src/api/simple_call.rs:86
Functionis_send
()
src/tls_api/mod.rs:228
Functionis_sync
()
src/tls_api/mod.rs:227
Methodlimit_body
(limit: usize, body: Option<&[u8]>)
src/api/websocket.rs:147
Methodlookup_on
( ipv4: bool, srvs: &[SocketAddr], sock: &UdpSocket, pos: &mut usize,
src/resolve/mod.rs:145
Functionmain
()
build.rs:3
Functionmain
()
examples/url.rs:5
Functionmain
()
examples/get_streaming.rs:7
Functionmain
()
examples/sync.rs:5
Functionmain
()
examples/ws.rs:8
Functionmain
()
examples/get.rs:41
Functionmap_handshake_error
(e: native_tls::HandshakeError<S>)
src/tls_api/native.rs:134
Methodmask_inplace
(mask: &[u8], pkt: &mut [u8])
src/api/websocket.rs:382
Methodmask_to
(mask: &[u8], mut mpos: usize, src: &[u8], dst: &mut [u8])
src/api/websocket.rs:391
Methodmax_redirects
(&mut self, v: u8)
src/types.rs:666
Methodmax_redirects
Default 4. How many redirects to follow. 0 to disable.
src/api/default.rs:159
Methodmax_redirects
Default 4. How many redirects to follow. 0 to disable following redirects.
src/api/builder.rs:304
Methodmax_response
(&mut self, m: usize)
src/types.rs:640
Methodmax_response
Default 10MB. This will limit how big the internal Vec<u8> can grow. HTTP response headers are always stored in internal buffer. HTTP response body i
src/api/default.rs:103
Methodmax_response
Default 10MB. This will limit how big the internal Vec<u8> can grow. HTTP response headers are always stored in internal buffer. HTTP response body i
src/api/builder.rs:260
Methodmethod
(&mut self, m: &str)
src/types.rs:494
Methodmethod
Set method for call. Like: Method::GET.
src/api/default.rs:52
Methodmethod
Set method: "GET", "POST", "PUT", "OPTIONS", "DELETE" or "HEAD"
src/api/builder.rs:88
Methodndots
(&self)
src/resolve/apple.rs:219
Functionnested_names
()
src/dns_parser/name.rs:156
Methodnew
(s: String)
src/types.rs:202
Methodnew
( call_id: u64, token: Token, cb: &CallBuilderImpl, cache: &mut DnsCache,
src/connection.rs:56
Methodnew
( call_id: u64, b: CallBuilderImpl, mut buf_hdr: Vec<u8>, mut buf_body: Vec<u8
src/call.rs:45
Methodnew
(con_offset: usize, cfg: Option<crate::HttpcCfg>)
src/httpc.rs:27
Methodnew
(imp: I)
src/tls_api/mod.rs:63
Methodnew
(buf: &'a mut [u8])
src/dns_parser/builder.rs:14
Methodnew
(storage: Storage)
src/resolve/apple.rs:22
Methodnew
( host: &str, retry_in: u64, servers: &[SocketAddr], ipv4: bool, )
src/resolve/mod.rs:53
Methodnew
()
src/resolve/cache.rs:17
Methodnew
()
src/api/mod.rs:32
Methodnew
Start an empty CallBuilder
src/api/default.rs:27
Methodnew
(id: Call, send_buf: Vec<u8>)
src/api/websocket.rs:81
Methodnew
()
src/api/builder.rs:35
Methodnew_bitfield_1
( ndots: ::std::os::raw::c_uint, nsort: ::std::os::raw::c_uint, )
src/resolve/apple.rs:241
Methodnsort
(&self)
src/resolve/apple.rs:230
Methodopen_connections
(&self)
src/httpc.rs:48
Methodopen_connections
Number of currently open connections (in active and idle keep-alive state)
src/api/default.rs:193
Methodopen_connections
Number of currently open connections (in active and idle keep-alive state)
src/api/builder.rs:370
Methodoptions
Start an OPTIONS request.
src/api/builder.rs:74
Methodparse
(data: &[u8])
src/dns_parser/parser.rs:9
Methodparse
(typ: Type, rdata: &'a [u8], original: &'a [u8])
src/dns_parser/rrdata.rs:31
Methodparse
(data: &[u8])
src/dns_parser/header.rs:37
Functionparse_aaaa_response
()
src/dns_parser/parser.rs:765
Functionparse_additional_record_response
()
src/dns_parser/parser.rs:456
Functionparse_badpointer_forward_offset
()
src/dns_parser/name.rs:143
Functionparse_badpointer_same_offset
()
src/dns_parser/name.rs:130
Functionparse_cname_response
()
src/dns_parser/parser.rs:811
Functionparse_example_query
()
src/dns_parser/parser.rs:165
Functionparse_example_query
()
src/dns_parser/header.rs:114
Functionparse_example_query_edns
()
src/dns_parser/parser.rs:884
Functionparse_example_response
()
src/dns_parser/parser.rs:196
Functionparse_example_response
()
src/dns_parser/header.rs:140
Functionparse_headers
()
src/lib.rs:256
Functionparse_multicast_prefer_unicast_query
()
src/dns_parser/parser.rs:621
Functionparse_multiple_answers
()
src/dns_parser/parser.rs:528
Functionparse_mx_response
()
src/dns_parser/parser.rs:706
Functionparse_ns_response
()
src/dns_parser/parser.rs:296
Functionparse_ptr_response
()
src/dns_parser/parser.rs:407
Functionparse_query_with_ad_set
()
src/dns_parser/header.rs:168
Functionparse_query_with_cd_set
()
src/dns_parser/header.rs:194
Functionparse_response_with_multicast_unique
()
src/dns_parser/parser.rs:283
Functionparse_soa_response
()
src/dns_parser/parser.rs:353
Functionparse_srv_query
()
src/dns_parser/parser.rs:586
Functionparse_srv_response
()
src/dns_parser/parser.rs:633
Functionparse_txt_response_multiple_strings
()
src/dns_parser/parser.rs:239
Methodpath_segms
Add multiple segments in one go.
src/api/builder.rs:151
Methodpeek_body
(&mut self, call: &crate::Call, off: &mut usize)
src/connection.rs:737
Methodpeek_body
(&mut self, off: &mut usize)
src/call.rs:92
Methodpeek_body
(&mut self, call: &Call, off: &mut usize)
src/httpc.rs:195
Methodpeek_body
(&mut self, id: &crate::Call, off: &mut usize)
src/api/builder.rs:359
Methodpeer_certificate
(&self)
src/tls_api/rustls.rs:202
Methodpeer_pubkey
(&self)
src/tls_api/native.rs:106
Methodpeer_pubkey
(&self)
src/tls_api/openssl.rs:123
Methodpeer_pubkey
(&self)
src/tls_api/rustls.rs:211
Methodperform
Perform operation. Returns true if request is finished.
src/api/simple_call.rs:91
Methodpost
Start a POST request.
src/api/default.rs:37
Methodpost
Start a POST request.
src/api/builder.rs:51
Methodput
Start a PUT request.
src/api/default.rs:42
Methodput
Start a PUT request.
src/api/builder.rs:59
Methodquery_list
Add multiple key-value pars in one go.
src/api/builder.rs:165
Methodread
(&mut self, buf: &mut [u8])
src/tls_api/native.rs:67
Methodread
(&mut self, buf: &mut [u8])
src/tls_api/openssl.rs:78
Methodread
(&mut self, buf: &mut [u8])
src/tls_api/mod.rs:108
Methodread
(&mut self, buf: &mut [u8])
src/tls_api/rustls.rs:137
Methodrecfg
Reconfigure client
src/api/default.rs:198
Methodreuse
Reuse a response buffer for subsequent calls.
src/api/builder.rs:374
Methodscan
(data: &'a [u8], original: &'a [u8])
src/dns_parser/name.rs:21
Methodsend_bin
Send binary packet. Data gets copied out into an internal buffer, as it must be masked before sending. No bytes will have been sent after calling this
src/api/websocket.rs:267
Methodsend_bin_inplace
Send websocket packet. It will create a frame for entire size of pkt slice. It is assumed slice always starts at unsent data. If pkt was not sent comp
src/api/websocket.rs:281
← previousnext →301–400 of 437, ranked by callers