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
builder
()
src/tls_api/native.rs:149
Method
builder
()
src/tls_api/openssl.rs:178
Method
builder
()
src/tls_api/rustls.rs:370
Method
builder
()
src/tls_api/dummy.rs:50
Method
builder_mut
(&mut self)
src/tls_api/openssl.rs:67
Method
call
(&mut self, b: CallBuilderImpl, poll: &Registry)
src/httpc.rs:70
Method
call
(&self)
src/api/simple_call.rs:25
Method
call
Consume and execute HTTP call. Return low level streaming call interface. CallBuilder is invalid after this call and will panic if used again.
src/api/default.rs:85
Method
call
(&self)
src/api/websocket.rs:98
Method
call
Consume and execute HTTP call. Return low level streaming call interface. CallBuilder is invalid after this call and will panic if used again.
src/api/builder.rs:234
Method
call_close
Prematurely finish call.
src/api/builder.rs:378
Method
call_id
(&self)
src/call.rs:77
Method
call_recv
If no buf provided, response body (if any) is stored in an internal buffer. If buf provided after some body has been received, it will be copied to it
src/api/builder.rs:428
Method
call_send
If request has body it will be either taken from buf, from Request provided to CallBuilder or will return SendState::WaitReqBody. buf slice is assume
src/api/builder.rs:412
Function
cert_pubkey
Implemented from: https://github.com/datatheorem/TrustKit/blob/3e26bf672c19a1a857379d1deb05caf1fafdc5e3/TrustKit/Pinning/TSKSPKIHashCache.m
src/tls_api/apple.rs:14
Method
certs_from_path
Will read pem files (extensions .crt or .pem) from path. Path can be to file or folder.
src/api/mod.rs:153
Method
cfg_mut
(&mut self)
src/httpc.rs:44
Method
cfg_mut
Reconfigure httpc.
src/api/builder.rs:366
Method
chunked_max_chunk
(&mut self, v: usize)
src/types.rs:658
Method
chunked_max_chunk
Default 32K Max size of chunk in a chunked transfer.
src/api/default.rs:126
Method
chunked_max_chunk
Default 128K Max size of chunk in a chunked transfer.
src/api/builder.rs:287
Method
chunked_parse
(&mut self, b: bool)
src/types.rs:650
Method
chunked_parse
Default true. Configurable because it entails copying the data stream.
src/api/default.rs:119
Method
chunked_parse
Default true. Configurable because it entails copying the data stream.
src/api/builder.rs:279
Method
connect
( &self, domain: &str, stream: S, )
src/tls_api/native.rs:155
Method
connect
( &self, domain: &str, stream: S, )
src/tls_api/openssl.rs:184
Method
connect
( &self, domain: &str, stream: S, )
src/tls_api/rustls.rs:374
Method
danger_accept_invalid_certs
(&mut self)
src/tls_api/native.rs:49
Method
danger_accept_invalid_certs
(&mut self)
src/tls_api/openssl.rs:56
Method
danger_accept_invalid_certs
(&mut self)
src/tls_api/rustls.rs:276
Method
default
()
src/types.rs:380
Method
delete
Start a DELETE request.
src/api/default.rs:47
Method
delete
Start a DELETE request.
src/api/builder.rs:67
Method
digest_auth
Use digest authentication. If you know server is using digest auth you REALLY should set it to true. If server is using basic authentication and you s
src/api/default.rs:146
Method
digest_auth
Use digest authentication. If you know server is using digest auth you REALLY should set it to true. If server is using basic authentication and you s
src/api/builder.rs:330
Method
dns_retry_ms
(&mut self, n: u64)
src/types.rs:636
Method
dns_retry_ms
Default: 100ms Starting point of dns packet resends if nothing received. Every next resend timeout is 2x the previous one but stops at 1s. So for 100
src/api/default.rs:112
Method
dns_retry_ms
Default: 100ms Starting point of dns packet resends if nothing received. Every next resend timeout is 2x the previous one but stops at 1s. Make sure
src/api/builder.rs:271
Method
empty
()
src/types.rs:196
Method
empty
An empty SimpleCall not associated with a valid mio::Token/CallId. Exists to be overwritten with an actual valid request. Always returns is_done true.
src/api/simple_call.rs:159
Method
empty
()
src/api/mod.rs:302
Method
empty
()
src/api/websocket.rs:102
Method
eq
(&self, uri: &ConHost)
src/connection.rs:555
Method
event
Get CallRef for ev if token in configured range for Httpc. Compare CallRef external call. First you must call call_send until you get a SendState::Re
src/api/default.rs:224
Method
event_rec_do
( &mut self, con: &mut Con, cp: &mut CallParam, internal: bool, buf: &
src/call.rs:623
Method
event_recv
( &mut self, call: &mut crate::Call, cp: &mut CallParam, buf: Option<&mut Vec<
src/connection.rs:829
Method
event_recv
( &mut self, con: &mut Con, cp: &mut CallParam, b: Option<&mut Vec<u8>>, )
src/call.rs:425
Method
event_send
( &mut self, call: &mut crate::Call, cp: &mut CallParam, buf: Option<&[u8]>,
src/connection.rs:767
Method
event_send
( &mut self, con: &mut Con, cp: &mut CallParam, b: Option<&[u8]>, )
src/call.rs:346
Method
event_send_do
( &mut self, con: &mut Con, cp: &mut CallParam, in_pos: usize, b: &[u8
src/call.rs:533
Method
event_to_interest
(ev: &Event)
src/httpc.rs:183
Method
event_token
Specifically set mio token IDs for call. Must be outside of token range specified im Httpc::new Two tokens are required becase when initiating connect
src/api/builder.rs:125
Method
finish
(self)
src/dns_parser/builder.rs:96
Method
finish_inplace
Replaces self with an empty SimpleCall and returns result if any.
src/api/simple_call.rs:30
Method
fix_location
(r: &Response, b: &mut CallBuilderImpl)
src/httpc.rs:396
Method
flush
(&mut self)
src/connection.rs:463
Method
flush
(&mut self)
src/tls_api/native.rs:77
Method
flush
(&mut self)
src/tls_api/openssl.rs:88
Method
flush
(&mut self)
src/tls_api/mod.rs:118
Method
flush
(&mut self)
src/tls_api/rustls.rs:179
Method
fmt
(&self, f: &mut fmt::Formatter)
src/tls_api/native.rs:116
Method
fmt
(&self, f: &mut fmt::Formatter)
src/tls_api/openssl.rs:140
Method
fmt
(&self, f: &mut fmt::Formatter)
src/tls_api/rustls.rs:125
Method
fmt
(&self, fmt: &mut fmt::Formatter)
src/dns_parser/name.rs:95
Method
fmt
(&self, f: &mut Formatter)
src/api/mod.rs:77
Method
from
(e: std::io::Error)
src/lib.rs:215
Method
from
(err: io::Error)
src/tls_api/rustls.rs:57
Method
from
(code: u16)
src/dns_parser/enums.rs:147
Method
from
(v: Call)
src/api/simple_call.rs:173
Method
from_der
(der_data: &[u8])
src/tls_api/apple.rs:28
Method
from_str
(s: &str)
src/types.rs:385
Method
get
Start a GET request.
src/api/builder.rs:44
Method
get_mut
(&mut self)
src/tls_api/native.rs:89
Method
get_mut
(&mut self)
src/tls_api/openssl.rs:106
Method
get_mut
(&mut self)
src/tls_api/rustls.rs:194
Method
get_ref
(&self)
src/tls_api/native.rs:93
Method
get_ref
(&self)
src/tls_api/openssl.rs:110
Method
get_ref
(&self)
src/tls_api/mod.rs:75
Method
get_ref
(&self)
src/tls_api/rustls.rs:198
Method
get_ref
Get a CallRef that matches this call.
src/api/mod.rs:244
Method
get_socket_v4
()
src/resolve/mod.rs:112
Method
get_socket_v6
()
src/resolve/mod.rs:118
Method
get_url
Return constructed URL.
src/api/builder.rs:336
Method
gzip
(&mut self, b: bool)
src/types.rs:654
Method
gzip
Tell server to gzip response and unzip transparently before returning body to client. Default is true.
src/api/default.rs:152
Method
handshake
(&mut self)
src/tls_api/native.rs:124
Method
handshake
(&mut self)
src/tls_api/openssl.rs:148
Method
handshake
(&mut self)
src/tls_api/rustls.rs:229
Method
handshake_resp
( &mut self, r: ::std::result::Result<TlsStream<TcpStream>, HandshakeError<TcpStream>>,
src/connection.rs:362
Function
hash
(algo: HashType, data: &[u8])
src/tls_api/native.rs:9
Function
hash
(algo: HashType, data: &[u8])
src/tls_api/openssl.rs:16
Function
hash
(algo: HashType, data: &[u8])
src/tls_api/rustls.rs:12
Method
hash
(&self, state: &mut H)
src/connection.rs:539
Method
head
Start a HEAD request.
src/api/builder.rs:81
Method
header
(&mut self, key: &str, value: &str)
src/types.rs:611
Method
header
Set HTTP header.
src/api/default.rs:69
Method
header
Set HTTP header.
src/api/builder.rs:190
Method
host
Set host where to connect to. It can be a domain or IP address.
src/api/builder.rs:111
Method
https
Default: http Use https for call. Shorthand for set_https(true)
src/api/builder.rs:97
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/default.rs:167
← previous
next →
201–300 of 437, ranked by callers