Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SergejJurecko/mio_httpc
/ functions
Functions
437 in github.com/SergejJurecko/mio_httpc
⨍
Functions
437
◇
Types & classes
100
Method
insecure_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
Method
is_call
For quick comparison with httpc::event response. If cid is none will return false.
src/api/simple_call.rs:62
Method
is_empty
(&self)
src/api/simple_call.rs:168
Method
is_empty
(&self)
src/api/websocket.rs:108
Method
is_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
Method
is_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
Method
is_receiving
Are we in receiving state
src/api/simple_call.rs:86
Function
is_send
()
src/tls_api/mod.rs:228
Function
is_sync
()
src/tls_api/mod.rs:227
Method
limit_body
(limit: usize, body: Option<&[u8]>)
src/api/websocket.rs:147
Method
lookup_on
( ipv4: bool, srvs: &[SocketAddr], sock: &UdpSocket, pos: &mut usize,
src/resolve/mod.rs:145
Function
main
()
build.rs:3
Function
main
()
examples/url.rs:5
Function
main
()
examples/get_streaming.rs:7
Function
main
()
examples/sync.rs:5
Function
main
()
examples/ws.rs:8
Function
main
()
examples/get.rs:41
Function
map_handshake_error
(e: native_tls::HandshakeError<S>)
src/tls_api/native.rs:134
Method
mask_inplace
(mask: &[u8], pkt: &mut [u8])
src/api/websocket.rs:382
Method
mask_to
(mask: &[u8], mut mpos: usize, src: &[u8], dst: &mut [u8])
src/api/websocket.rs:391
Method
max_redirects
(&mut self, v: u8)
src/types.rs:666
Method
max_redirects
Default 4. How many redirects to follow. 0 to disable.
src/api/default.rs:159
Method
max_redirects
Default 4. How many redirects to follow. 0 to disable following redirects.
src/api/builder.rs:304
Method
max_response
(&mut self, m: usize)
src/types.rs:640
Method
max_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
Method
max_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
Method
method
(&mut self, m: &str)
src/types.rs:494
Method
method
Set method for call. Like: Method::GET.
src/api/default.rs:52
Method
method
Set method: "GET", "POST", "PUT", "OPTIONS", "DELETE" or "HEAD"
src/api/builder.rs:88
Method
ndots
(&self)
src/resolve/apple.rs:219
Function
nested_names
()
src/dns_parser/name.rs:156
Method
new
(s: String)
src/types.rs:202
Method
new
( call_id: u64, token: Token, cb: &CallBuilderImpl, cache: &mut DnsCache,
src/connection.rs:56
Method
new
( call_id: u64, b: CallBuilderImpl, mut buf_hdr: Vec<u8>, mut buf_body: Vec<u8
src/call.rs:45
Method
new
(con_offset: usize, cfg: Option<crate::HttpcCfg>)
src/httpc.rs:27
Method
new
(imp: I)
src/tls_api/mod.rs:63
Method
new
(buf: &'a mut [u8])
src/dns_parser/builder.rs:14
Method
new
(storage: Storage)
src/resolve/apple.rs:22
Method
new
( host: &str, retry_in: u64, servers: &[SocketAddr], ipv4: bool, )
src/resolve/mod.rs:53
Method
new
()
src/resolve/cache.rs:17
Method
new
()
src/api/mod.rs:32
Method
new
Start an empty CallBuilder
src/api/default.rs:27
Method
new
(id: Call, send_buf: Vec<u8>)
src/api/websocket.rs:81
Method
new
()
src/api/builder.rs:35
Method
new_bitfield_1
( ndots: ::std::os::raw::c_uint, nsort: ::std::os::raw::c_uint, )
src/resolve/apple.rs:241
Method
nsort
(&self)
src/resolve/apple.rs:230
Method
open_connections
(&self)
src/httpc.rs:48
Method
open_connections
Number of currently open connections (in active and idle keep-alive state)
src/api/default.rs:193
Method
open_connections
Number of currently open connections (in active and idle keep-alive state)
src/api/builder.rs:370
Method
options
Start an OPTIONS request.
src/api/builder.rs:74
Method
parse
(data: &[u8])
src/dns_parser/parser.rs:9
Method
parse
(typ: Type, rdata: &'a [u8], original: &'a [u8])
src/dns_parser/rrdata.rs:31
Method
parse
(data: &[u8])
src/dns_parser/header.rs:37
Function
parse_aaaa_response
()
src/dns_parser/parser.rs:765
Function
parse_additional_record_response
()
src/dns_parser/parser.rs:456
Function
parse_badpointer_forward_offset
()
src/dns_parser/name.rs:143
Function
parse_badpointer_same_offset
()
src/dns_parser/name.rs:130
Function
parse_cname_response
()
src/dns_parser/parser.rs:811
Function
parse_example_query
()
src/dns_parser/parser.rs:165
Function
parse_example_query
()
src/dns_parser/header.rs:114
Function
parse_example_query_edns
()
src/dns_parser/parser.rs:884
Function
parse_example_response
()
src/dns_parser/parser.rs:196
Function
parse_example_response
()
src/dns_parser/header.rs:140
Function
parse_headers
()
src/lib.rs:256
Function
parse_multicast_prefer_unicast_query
()
src/dns_parser/parser.rs:621
Function
parse_multiple_answers
()
src/dns_parser/parser.rs:528
Function
parse_mx_response
()
src/dns_parser/parser.rs:706
Function
parse_ns_response
()
src/dns_parser/parser.rs:296
Function
parse_ptr_response
()
src/dns_parser/parser.rs:407
Function
parse_query_with_ad_set
()
src/dns_parser/header.rs:168
Function
parse_query_with_cd_set
()
src/dns_parser/header.rs:194
Function
parse_response_with_multicast_unique
()
src/dns_parser/parser.rs:283
Function
parse_soa_response
()
src/dns_parser/parser.rs:353
Function
parse_srv_query
()
src/dns_parser/parser.rs:586
Function
parse_srv_response
()
src/dns_parser/parser.rs:633
Function
parse_txt_response_multiple_strings
()
src/dns_parser/parser.rs:239
Method
path_segms
Add multiple segments in one go.
src/api/builder.rs:151
Method
peek_body
(&mut self, call: &crate::Call, off: &mut usize)
src/connection.rs:737
Method
peek_body
(&mut self, off: &mut usize)
src/call.rs:92
Method
peek_body
(&mut self, call: &Call, off: &mut usize)
src/httpc.rs:195
Method
peek_body
(&mut self, id: &crate::Call, off: &mut usize)
src/api/builder.rs:359
Method
peer_certificate
(&self)
src/tls_api/rustls.rs:202
Method
peer_pubkey
(&self)
src/tls_api/native.rs:106
Method
peer_pubkey
(&self)
src/tls_api/openssl.rs:123
Method
peer_pubkey
(&self)
src/tls_api/rustls.rs:211
Method
perform
Perform operation. Returns true if request is finished.
src/api/simple_call.rs:91
Method
post
Start a POST request.
src/api/default.rs:37
Method
post
Start a POST request.
src/api/builder.rs:51
Method
put
Start a PUT request.
src/api/default.rs:42
Method
put
Start a PUT request.
src/api/builder.rs:59
Method
query_list
Add multiple key-value pars in one go.
src/api/builder.rs:165
Method
read
(&mut self, buf: &mut [u8])
src/tls_api/native.rs:67
Method
read
(&mut self, buf: &mut [u8])
src/tls_api/openssl.rs:78
Method
read
(&mut self, buf: &mut [u8])
src/tls_api/mod.rs:108
Method
read
(&mut self, buf: &mut [u8])
src/tls_api/rustls.rs:137
Method
recfg
Reconfigure client
src/api/default.rs:198
Method
reuse
Reuse a response buffer for subsequent calls.
src/api/builder.rs:374
Method
scan
(data: &'a [u8], original: &'a [u8])
src/dns_parser/name.rs:21
Method
send_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
Method
send_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
← previous
next →
301–400 of 437, ranked by callers