MCPcopy Create free account

hub / github.com/SergejJurecko/mio_httpc / functions

Functions437 in github.com/SergejJurecko/mio_httpc

↓ 1 callersMethodcall_send
( &mut self, poll: &Registry, call: &mut Call, buf: Option<&[u8]>, )
src/httpc.rs:208
↓ 1 callersMethodcall_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/default.rs:233
↓ 1 callersFunctioncert_pubkey
(_v: Vec<u8>)
src/tls_api/mod.rs:98
↓ 1 callersMethodcheck_retry
(&mut self, now: Instant, host: &str)
src/resolve/mod.rs:81
↓ 1 callersMethodclose
A reply to close or initiate close. close must be sent by both parties. Body if present is capped at 125 bytes.
src/api/websocket.rs:169
↓ 1 callersMethodclose_call
( &mut self, call: crate::Call, keepalive: bool, )
src/connection.rs:992
↓ 1 callersMethodcomplete_handshake
(&mut self)
src/tls_api/rustls.rs:74
↓ 1 callersMethodconnect
( &self, _domain: &str, _stream: S, )
src/tls_api/dummy.rs:54
↓ 1 callersMethodconnect_resolved
(&mut self, poll: &Registry)
src/connection.rs:289
↓ 1 callersMethodcopy_public_key_from_certificate
(&self)
src/tls_api/apple.rs:91
↓ 1 callersMethodcreate_other
( &mut self, orig: usize, poll: &Registry, cfg: &HttpcCfg, con_offset:
src/connection.rs:856
↓ 1 callersMethoddanger_accept_invalid_certs
(&mut self)
src/tls_api/dummy.rs:42
↓ 1 callersMethodderegister
(&mut self, poll: &Registry)
src/connection.rs:512
↓ 1 callersFunctiondns_parse
(buf: &[u8], vec: &mut SmallVec<[IpAddr; 2]>)
src/resolve/mod.rs:17
↓ 1 callersFunctiondo_call
(htp: &mut Httpc, poll: &mut Poll, mut call: SimpleCall)
examples/get.rs:7
↓ 1 callersMethodevent
Get CallRef for ev if token in configured range for Httpc. Compare CallRef with external Call to find out which call this event belongs to if any. Th
src/api/builder.rs:404
↓ 1 callersMethodexec
Execute directly. This will block until completion!
src/api/builder.rs:196
↓ 1 callersMethodfill_send_req
(&mut self, buf: &mut Vec<u8>)
src/call.rs:175
↓ 1 callersMethodfind
(&mut self, host: &str)
src/resolve/cache.rs:26
↓ 1 callersMethodfinish
Consume and return response with body.
src/api/simple_call.rs:36
↓ 1 callersMethodfinish_inplace
Actually close connection and replace self with an empty websocket.
src/api/websocket.rs:241
↓ 1 callersMethodfirst_use_done
(&mut self)
src/connection.rs:252
↓ 1 callersFunctionget_asn1_header_bytes
(pkt: CFStringRef, ksz: u32)
src/tls_api/apple.rs:109
↓ 1 callersMethodget_bit
(&self, index: usize)
src/resolve/apple.rs:27
↓ 1 callersFunctionget_dns_servers
(_ipv4: bool, srvs: &mut SmallVec<[SocketAddr; 4]>)
src/resolve/mod.rs:249
↓ 1 callersMethodget_url
(&mut self)
src/types.rs:674
↓ 1 callersMethodgzip
Default true. Sets Accept-Encoding: gzip, deflate Will decompress response.
src/api/builder.rs:313
↓ 1 callersMethodhandshake
(mut self)
src/tls_api/mod.rs:135
↓ 1 callersMethodhost
(&mut self, host: &str)
src/types.rs:566
↓ 1 callersMethodid
(&self)
src/api/mod.rs:264
↓ 1 callersMethodidle_timeout
(&mut self, now: Instant)
src/connection.rs:229
↓ 1 callersMethodinsecure
(&mut self)
src/types.rs:670
↓ 1 callersMethodis
Case insensitive header name comparison
src/api/mod.rs:72
↓ 1 callersMethodis_active
True if websocket is established. False if still initiating or closed.
src/api/websocket.rs:113
↓ 1 callersMethodis_closed
(&self)
src/connection.rs:237
↓ 1 callersMethodis_done
(&self)
src/call.rs:146
↓ 1 callersMethodis_done
Is request finished.
src/api/simple_call.rs:81
↓ 1 callersMethodis_fixed
(&self)
src/types.rs:498
↓ 1 callersMethodis_signalled_rd
(&self)
src/connection.rs:270
↓ 1 callersFunctionmap_handshake_error
(e: openssl::ssl::HandshakeError<S>)
src/tls_api/openssl.rs:158
↓ 1 callersFunctionnew_cache
()
src/resolve/cache.rs:77
↓ 1 callersMethodopen_cons
(&self)
src/connection.rs:621
↓ 1 callersMethodparse
(s: &'a str)
src/types.rs:95
↓ 1 callersFunctionparse_class_code
(value: u16)
src/dns_parser/parser.rs:73
↓ 1 callersFunctionparse_opt_record
Function to parse an RFC 6891 OPT Pseudo RR
src/dns_parser/parser.rs:117
↓ 1 callersMethodparse_packet
(&self, pkt: &[u8])
src/api/websocket.rs:514
↓ 1 callersFunctionparse_qclass_code
(value: u16)
src/dns_parser/parser.rs:65
↓ 1 callersMethodpath
(&mut self, inpath: &str)
src/types.rs:593
↓ 1 callersMethodpath_segm
Add a single segment of path. Parts are delimited by / which are added automatically. Any path unsafe characters are percent encoded. If part contains
src/api/builder.rs:145
↓ 1 callersMethodpeek_body
(&mut self, id: &::Call, off: &mut usize)
src/api/default.rs:187
↓ 1 callersMethodpeer_certificate
(&self)
src/tls_api/native.rs:97
↓ 1 callersMethodpeer_certificate
(&self)
src/tls_api/openssl.rs:114
↓ 1 callersMethodpeer_pubkey
(&self)
src/tls_api/mod.rs:79
↓ 1 callersMethodping
Ping server. Body if present is capped at 125 bytes.
src/api/websocket.rs:157
↓ 1 callersMethodpong
A reply to ping or not. Both are valid. Body if present is capped at 125 bytes.
src/api/websocket.rs:162
↓ 1 callersMethodpubkey
(&self)
src/tls_api/apple.rs:41
↓ 1 callersMethodpush_con
( &mut self, mut c: Con, call: CallImpl, poll: &Registry, cfg: &HttpcC
src/connection.rs:898
↓ 1 callersMethodpush_fixed_con
( &mut self, mut c: Con, call: CallImpl, poll: &Registry, cfg: &HttpcC
src/connection.rs:926
↓ 1 callersMethodpush_ka_con
(&mut self, con: u16, call: CallImpl)
src/connection.rs:968
↓ 1 callersMethodquery
Add a key-value pair to query. Any url unsafe characters are percent encoded.
src/api/builder.rs:159
↓ 1 callersMethodread_hdr
( &mut self, con: &mut Con, buf: &mut Vec<u8>, resp: &mut crate::Response,
src/call.rs:763
↓ 1 callersMethodread_packet
(&mut self, htp: &'a mut Httpc)
src/api/websocket.rs:461
↓ 1 callersMethodrecv_packet
You should call this in a loop until you get WSPacket::None.
src/api/websocket.rs:444
↓ 1 callersMethodremove_other
(&mut self, fixed: bool, id: usize)
src/connection.rs:660
↓ 1 callersMethodreserve_space
(&mut self, internal: bool, buf: &mut Vec<u8>)
src/call.rs:158
↓ 1 callersFunctionresolv_parse
(srvs: &mut SmallVec<[SocketAddr; 4]>, s: String)
src/resolve/mod.rs:283
↓ 1 callersMethodreuse
(&mut self, poll: &Registry)
src/connection.rs:194
↓ 1 callersMethodreuse
Reuse a response buffer for subsequent calls.
src/api/default.rs:201
↓ 1 callersMethodsend_text
Send text 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:259
↓ 1 callersMethodsendq_len
How many bytes are in send buffer waiting to be sent. Does not take into account any send_bin_inplace packets.
src/api/websocket.rs:119
↓ 1 callersMethodset_bit
(&mut self, index: usize, val: bool)
src/resolve/apple.rs:40
↓ 1 callersMethodsignalled_dns
(&mut self, poll: &Registry, cache: &mut DnsCache)
src/connection.rs:299
↓ 1 callersMethodsimple
(self)
src/api/mod.rs:248
↓ 1 callersMethodsimple_call
Consume and execute HTTP call. Returns SimpleCall interface. CallBuilder is invalid after this call and will panic if used again.
src/api/default.rs:79
↓ 1 callersMethodsimple_call
Consume and execute HTTP call. Returns SimpleCall interface. CallBuilder is invalid after this call and will panic if used again.
src/api/builder.rs:226
↓ 1 callersMethodstart
Creates a new query Initially all sections are empty. You're expected to fill the questions section with `add_question`
src/dns_parser/builder.rs:21
↓ 1 callersMethodstart_time
(&self)
src/call.rs:88
↓ 1 callersMethodswitch
( &mut self, htp: &mut Httpc, poll: &Registry, resp: crate::Response, )
src/api/websocket.rs:548
↓ 1 callersMethodtimeout
(&mut self, now: Instant, host: &str)
src/connection.rs:223
↓ 1 callersMethodtimeout
Call periodically to check for call timeouts and DNS retries. Returns list of calls that have timed out. You must execute call_close yourself (or Simp
src/api/builder.rs:386
↓ 1 callersMethodtimeout_extend
(&mut self, out: &mut Vec<CallRef>)
src/httpc.rs:155
↓ 1 callersMethodtry_keepalive
(&mut self, host: &[u8], port: u16, poll: &Registry)
src/connection.rs:975
↓ 1 callersMethodtry_send
(&mut self, host: &str)
src/resolve/mod.rs:96
↓ 1 callersMethodtry_truncate
(&mut self, id: &::Call, off: &mut usize)
src/api/default.rs:190
↓ 1 callersMethodwebsocket
(&mut self)
src/types.rs:490
↓ 1 callersMethodwrite
(&mut self, buf: &[u8])
src/connection.rs:440
Function_check_kinds
()
src/tls_api/mod.rs:224
Methodabort
Consume and abort call.
src/api/simple_call.rs:56
Methodabort_inplace
Abort and replace self with an empty call.
src/api/simple_call.rs:50
Methodadd_der_certificate
(&mut self, cert: &[u8])
src/tls_api/native.rs:33
Methodadd_der_certificate
(&mut self, cert: &[u8])
src/tls_api/openssl.rs:42
Methodadd_pem_certificate
(&mut self, cert: &[u8])
src/tls_api/native.rs:41
Methodadd_pem_certificate
(&mut self, cert: &[u8])
src/tls_api/openssl.rs:50
Methodadd_pem_certificate
(&mut self, cert: &[u8])
src/tls_api/rustls.rs:263
Methodauth
Use http authentication with username and password.
src/api/builder.rs:131
Methodbody
(&mut self, body: Vec<u8>)
src/api/default.rs:59
Methodbody
Set body.
src/api/builder.rs:184
Methodbuild
(self)
src/tls_api/native.rs:56
Methodbuild
(self)
src/tls_api/openssl.rs:61
Methodbuild
(self)
src/tls_api/rustls.rs:282
← previousnext →101–200 of 437, ranked by callers