MCPcopy Create free account

hub / github.com/SergejJurecko/mio_httpc / functions

Functions437 in github.com/SergejJurecko/mio_httpc

Methodbuilder
()
src/tls_api/native.rs:149
Methodbuilder
()
src/tls_api/openssl.rs:178
Methodbuilder
()
src/tls_api/rustls.rs:370
Methodbuilder
()
src/tls_api/dummy.rs:50
Methodbuilder_mut
(&mut self)
src/tls_api/openssl.rs:67
Methodcall
(&mut self, b: CallBuilderImpl, poll: &Registry)
src/httpc.rs:70
Methodcall
(&self)
src/api/simple_call.rs:25
Methodcall
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
Methodcall
(&self)
src/api/websocket.rs:98
Methodcall
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
Methodcall_close
Prematurely finish call.
src/api/builder.rs:378
Methodcall_id
(&self)
src/call.rs:77
Methodcall_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
Methodcall_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
Functioncert_pubkey
Implemented from: https://github.com/datatheorem/TrustKit/blob/3e26bf672c19a1a857379d1deb05caf1fafdc5e3/TrustKit/Pinning/TSKSPKIHashCache.m
src/tls_api/apple.rs:14
Methodcerts_from_path
Will read pem files (extensions .crt or .pem) from path. Path can be to file or folder.
src/api/mod.rs:153
Methodcfg_mut
(&mut self)
src/httpc.rs:44
Methodcfg_mut
Reconfigure httpc.
src/api/builder.rs:366
Methodchunked_max_chunk
(&mut self, v: usize)
src/types.rs:658
Methodchunked_max_chunk
Default 32K Max size of chunk in a chunked transfer.
src/api/default.rs:126
Methodchunked_max_chunk
Default 128K Max size of chunk in a chunked transfer.
src/api/builder.rs:287
Methodchunked_parse
(&mut self, b: bool)
src/types.rs:650
Methodchunked_parse
Default true. Configurable because it entails copying the data stream.
src/api/default.rs:119
Methodchunked_parse
Default true. Configurable because it entails copying the data stream.
src/api/builder.rs:279
Methodconnect
( &self, domain: &str, stream: S, )
src/tls_api/native.rs:155
Methodconnect
( &self, domain: &str, stream: S, )
src/tls_api/openssl.rs:184
Methodconnect
( &self, domain: &str, stream: S, )
src/tls_api/rustls.rs:374
Methoddanger_accept_invalid_certs
(&mut self)
src/tls_api/native.rs:49
Methoddanger_accept_invalid_certs
(&mut self)
src/tls_api/openssl.rs:56
Methoddanger_accept_invalid_certs
(&mut self)
src/tls_api/rustls.rs:276
Methoddefault
()
src/types.rs:380
Methoddelete
Start a DELETE request.
src/api/default.rs:47
Methoddelete
Start a DELETE request.
src/api/builder.rs:67
Methoddigest_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
Methoddigest_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
Methoddns_retry_ms
(&mut self, n: u64)
src/types.rs:636
Methoddns_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
Methoddns_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
Methodempty
()
src/types.rs:196
Methodempty
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
Methodempty
()
src/api/mod.rs:302
Methodempty
()
src/api/websocket.rs:102
Methodeq
(&self, uri: &ConHost)
src/connection.rs:555
Methodevent
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
Methodevent_rec_do
( &mut self, con: &mut Con, cp: &mut CallParam, internal: bool, buf: &
src/call.rs:623
Methodevent_recv
( &mut self, call: &mut crate::Call, cp: &mut CallParam, buf: Option<&mut Vec<
src/connection.rs:829
Methodevent_recv
( &mut self, con: &mut Con, cp: &mut CallParam, b: Option<&mut Vec<u8>>, )
src/call.rs:425
Methodevent_send
( &mut self, call: &mut crate::Call, cp: &mut CallParam, buf: Option<&[u8]>,
src/connection.rs:767
Methodevent_send
( &mut self, con: &mut Con, cp: &mut CallParam, b: Option<&[u8]>, )
src/call.rs:346
Methodevent_send_do
( &mut self, con: &mut Con, cp: &mut CallParam, in_pos: usize, b: &[u8
src/call.rs:533
Methodevent_to_interest
(ev: &Event)
src/httpc.rs:183
Methodevent_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
Methodfinish
(self)
src/dns_parser/builder.rs:96
Methodfinish_inplace
Replaces self with an empty SimpleCall and returns result if any.
src/api/simple_call.rs:30
Methodfix_location
(r: &Response, b: &mut CallBuilderImpl)
src/httpc.rs:396
Methodflush
(&mut self)
src/connection.rs:463
Methodflush
(&mut self)
src/tls_api/native.rs:77
Methodflush
(&mut self)
src/tls_api/openssl.rs:88
Methodflush
(&mut self)
src/tls_api/mod.rs:118
Methodflush
(&mut self)
src/tls_api/rustls.rs:179
Methodfmt
(&self, f: &mut fmt::Formatter)
src/tls_api/native.rs:116
Methodfmt
(&self, f: &mut fmt::Formatter)
src/tls_api/openssl.rs:140
Methodfmt
(&self, f: &mut fmt::Formatter)
src/tls_api/rustls.rs:125
Methodfmt
(&self, fmt: &mut fmt::Formatter)
src/dns_parser/name.rs:95
Methodfmt
(&self, f: &mut Formatter)
src/api/mod.rs:77
Methodfrom
(e: std::io::Error)
src/lib.rs:215
Methodfrom
(err: io::Error)
src/tls_api/rustls.rs:57
Methodfrom
(code: u16)
src/dns_parser/enums.rs:147
Methodfrom
(v: Call)
src/api/simple_call.rs:173
Methodfrom_der
(der_data: &[u8])
src/tls_api/apple.rs:28
Methodfrom_str
(s: &str)
src/types.rs:385
Methodget
Start a GET request.
src/api/builder.rs:44
Methodget_mut
(&mut self)
src/tls_api/native.rs:89
Methodget_mut
(&mut self)
src/tls_api/openssl.rs:106
Methodget_mut
(&mut self)
src/tls_api/rustls.rs:194
Methodget_ref
(&self)
src/tls_api/native.rs:93
Methodget_ref
(&self)
src/tls_api/openssl.rs:110
Methodget_ref
(&self)
src/tls_api/mod.rs:75
Methodget_ref
(&self)
src/tls_api/rustls.rs:198
Methodget_ref
Get a CallRef that matches this call.
src/api/mod.rs:244
Methodget_socket_v4
()
src/resolve/mod.rs:112
Methodget_socket_v6
()
src/resolve/mod.rs:118
Methodget_url
Return constructed URL.
src/api/builder.rs:336
Methodgzip
(&mut self, b: bool)
src/types.rs:654
Methodgzip
Tell server to gzip response and unzip transparently before returning body to client. Default is true.
src/api/default.rs:152
Methodhandshake
(&mut self)
src/tls_api/native.rs:124
Methodhandshake
(&mut self)
src/tls_api/openssl.rs:148
Methodhandshake
(&mut self)
src/tls_api/rustls.rs:229
Methodhandshake_resp
( &mut self, r: ::std::result::Result<TlsStream<TcpStream>, HandshakeError<TcpStream>>,
src/connection.rs:362
Functionhash
(algo: HashType, data: &[u8])
src/tls_api/native.rs:9
Functionhash
(algo: HashType, data: &[u8])
src/tls_api/openssl.rs:16
Functionhash
(algo: HashType, data: &[u8])
src/tls_api/rustls.rs:12
Methodhash
(&self, state: &mut H)
src/connection.rs:539
Methodhead
Start a HEAD request.
src/api/builder.rs:81
Methodheader
(&mut self, key: &str, value: &str)
src/types.rs:611
Methodheader
Set HTTP header.
src/api/default.rs:69
Methodheader
Set HTTP header.
src/api/builder.rs:190
Methodhost
Set host where to connect to. It can be a domain or IP address.
src/api/builder.rs:111
Methodhttps
Default: http Use https for call. Shorthand for set_https(true)
src/api/builder.rs:97
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/default.rs:167
← previousnext →201–300 of 437, ranked by callers