MCPcopy Create free account

hub / github.com/SergejJurecko/mio_httpc / functions

Functions437 in github.com/SergejJurecko/mio_httpc

↓ 37 callersMethodas_mut
(&mut self)
src/connection.rs:587
↓ 36 callersMethodas_bytes
(&self)
src/types.rs:76
↓ 23 callersMethodtruncate
(&mut self)
src/call.rs:121
↓ 21 callersMethodget_mut
(&mut self)
src/tls_api/mod.rs:71
↓ 17 callersMethodclone
keep this functionality internal to lib
src/api/mod.rs:293
↓ 17 callersMethodis_none
(&self)
src/connection.rs:569
↓ 17 callersMethodstop
(&mut self, htp: &mut Httpc)
src/api/websocket.rs:246
↓ 16 callersMethodas_ref
(&self)
src/connection.rs:549
↓ 16 callersMethodtake
(&mut self)
src/connection.rs:593
↓ 14 callersMethodas_str
(&self)
src/types.rs:402
↓ 12 callersMethodinvalidate
pub(crate) fn call_id(&self) -> u16 { ((self.0 >> 16) & 0xFFFF) as u16 } pub(crate) fn con_id(&self) -> u16 { (self.0 & 0xFFFF) as u16 } Once call fin
src/api/mod.rs:323
↓ 10 callersMethodfinish
Actually close connection. If any other call returns error, you should always call finish afterwards.
src/api/websocket.rs:236
↓ 7 callersMethodcall_close
(&mut self, id: Call, keepalive: bool)
src/httpc.rs:122
↓ 7 callersMethodis_empty
(&self)
src/api/mod.rs:201
↓ 7 callersMethodperform
Perform socket operation.
src/api/websocket.rs:570
↓ 7 callersMethodset_to_close
(&mut self, b: bool)
src/connection.rs:256
↓ 6 callersMethodcall_close_int
(&mut self, id: Call, keepalive: bool)
src/httpc.rs:129
↓ 6 callersMethodcall_send
(&mut self, htp: &mut Httpc, poll: &Registry, pkt: &[u8])
src/api/websocket.rs:359
↓ 6 callersMethodupdate_token
(&mut self, poll: &Registry, v: usize, fixed: bool)
src/connection.rs:149
↓ 6 callersMethodwrite
Write a header to a buffer slice # Panics When buffer size is not exactly 12 bytes
src/dns_parser/header.rs:68
↓ 5 callersMethodget
Start a GET request.
src/api/default.rs:32
↓ 5 callersMethodget_buf
(&mut self)
src/httpc.rs:140
↓ 5 callersMethodget_other
(&self)
src/connection.rs:137
↓ 5 callersMethodnext
(&mut self)
src/api/mod.rs:107
↓ 5 callersMethodsend_buf_append
only append do not send.
src/api/websocket.rs:174
↓ 5 callersMethodurl
(&mut self, url: &str)
src/types.rs:501
↓ 4 callersMethodbyte_len
(&self)
src/dns_parser/name.rs:89
↓ 4 callersMethodclose_con
(&mut self, toclose: usize)
src/connection.rs:1054
↓ 4 callersFunctionconnect
(addr: SocketAddr)
src/connection.rs:21
↓ 4 callersMethodheaders
(&self)
src/api/mod.rs:38
↓ 4 callersMethodmaybe_gunzip
(&self, inbuf: Vec<u8>, extbuf: Option<&mut Vec<u8>>)
src/call.rs:393
↓ 4 callersMethodpush_to
copy full chunks to dst, move remainder (non-full chunk) back right after hdr.
src/types.rs:243
↓ 4 callersMethodreg
(&mut self, poll: &Registry, rdy: Interest)
src/connection.rs:260
↓ 4 callersMethodsave
(&mut self, host: &str, ipl: IpList)
src/resolve/cache.rs:37
↓ 4 callersMethodset
(&mut self, bit_offset: usize, bit_width: u8, val: u64)
src/resolve/apple.rs:74
↓ 4 callersMethodsettings
(&self)
src/call.rs:142
↓ 3 callersMethodcall_close
Prematurely finish call.
src/api/default.rs:204
↓ 3 callersMethodcall_id
(&self)
src/connection.rs:141
↓ 3 callersMethodcon
(&self)
src/api/mod.rs:281
↓ 3 callersMethodcreate_dns
(&mut self, cfg: &HttpcCfg)
src/connection.rs:159
↓ 3 callersMethodcreate_sock
(&mut self, cache: &mut DnsCache)
src/connection.rs:170
↓ 3 callersMethoddo_send_buf
(&mut self, htp: &mut Httpc, poll: &Registry)
src/api/websocket.rs:207
↓ 3 callersMethodevent
(&mut self, ev: &Event)
src/httpc.rs:164
↓ 3 callersMethodget
(&self, bit_offset: usize, bit_width: u8)
src/resolve/apple.rs:57
↓ 3 callersMethodhttps
(&mut self)
src/types.rs:570
↓ 3 callersFunctionip
(index: u8)
src/resolve/cache.rs:73
↓ 3 callersMethodis_call
For quick comparison with httpc::event response. If cid is none will return false.
src/api/websocket.rs:129
↓ 3 callersMethodis_ref
Is CallRef for this call.
src/api/mod.rs:253
↓ 3 callersFunctionparse_record
Generic function to parse answer, nameservers, and additional records.
src/dns_parser/parser.rs:82
↓ 3 callersMethodpath
Set full path. No percent encoding is done. Will fail later if it contains invalid characters.
src/api/builder.rs:137
↓ 3 callersMethodquery
(&mut self, k: &str, v: &str)
src/types.rs:533
↓ 3 callersMethodremove_con
(&mut self, conid: usize)
src/api/mod.rs:257
↓ 3 callersMethodset_other
(&mut self, other: Option<usize>)
src/connection.rs:133
↓ 3 callersMethodset_signalled_rd
(&mut self, v: bool)
src/connection.rs:275
↓ 3 callersMethodset_signalled_wr
(&mut self, v: bool)
src/connection.rs:285
↓ 2 callersMethodadd_question
Adds a question to the packet # Panics Answers, nameservers or additional section has already been written There are already 65535 questions in the
src/dns_parser/builder.rs:54
↓ 2 callersMethodcall_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/default.rs:244
↓ 2 callersMethodcan_retry
(&self)
src/call.rs:68
↓ 2 callersMethodcheck_done
Return true if 0 sized chunk found and stream finished.
src/types.rs:220
↓ 2 callersMethodcleanup
(&mut self, now: Instant)
src/resolve/cache.rs:54
↓ 2 callersMethodclone_other
(&mut self, other: usize, tk: usize)
src/connection.rs:101
↓ 2 callersMethodcomplete_handleshake_mid
( mut self, )
src/tls_api/rustls.rs:105
↓ 2 callersMethodcomplete_prior_io
(&mut self)
src/tls_api/rustls.rs:93
↓ 2 callersMethodcons
(&self)
src/api/mod.rs:288
↓ 2 callersMethoddigest_auth
(&mut self, b: bool)
src/types.rs:644
↓ 2 callersMethodfill_frame
( &mut self, fin: bool, mut op: u8, pkt: &[u8], frame: &mut [u8],
src/api/websocket.rs:401
↓ 2 callersMethodget_chunk_size
(&mut self, b: &[u8])
src/types.rs:274
↓ 2 callersFunctionget_google
(srvs: &mut SmallVec<[SocketAddr; 4]>)
src/resolve/mod.rs:278
↓ 2 callersFunctionhash
Make use of the TLS implementation's crypto hashing functions. Not picking any TLS implementation as a feature means hash will not work also and will
src/tls_api/dummy.rs:17
↓ 2 callersMethodhost
(&self)
src/connection.rs:145
↓ 2 callersMethodinto
(self)
src/dns_parser/enums.rs:158
↓ 2 callersMethodinto_error
(self)
src/tls_api/rustls.rs:48
↓ 2 callersMethodis_first_use
(&self)
src/connection.rs:241
↓ 2 callersMethodis_init
(&self)
src/api/websocket.rs:43
↓ 2 callersMethodis_ref
(&self, r: CallRef)
src/api/simple_call.rs:21
↓ 2 callersMethodis_ref
(&self, r: CallRef)
src/api/websocket.rs:123
↓ 2 callersMethodis_signalled_wr
(&self)
src/connection.rs:280
↓ 2 callersMethodparse
(code: u16)
src/dns_parser/enums.rs:200
↓ 2 callersMethodpath_segm
(&mut self, part: &str)
src/types.rs:601
↓ 2 callersMethodport
Set connection port.
src/api/builder.rs:117
↓ 2 callersMethodread
(&mut self, buf: &mut [u8])
src/connection.rs:416
↓ 2 callersMethodregister
( &mut self, poll: &Registry, token: Token, interest: Interest, )
src/connection.rs:478
↓ 2 callersMethodremove_conid
(&mut self, fixed: bool, id: usize)
src/connection.rs:676
↓ 2 callersMethodreregister
( &mut self, poll: &Registry, token: Token, interest: Interest, )
src/connection.rs:495
↓ 2 callersMethodreuse
(&mut self, mut buf: Vec<u8>)
src/httpc.rs:52
↓ 2 callersMethodset_idle
(&mut self, b: bool)
src/connection.rs:245
↓ 2 callersMethodsignalled_con
(&mut self, fixed: bool, id: usize, rdy: Interest)
src/connection.rs:625
↓ 2 callersMethodstop
(self)
src/call.rs:150
↓ 2 callersMethodtimeout
(&mut self)
src/httpc.rs:149
↓ 2 callersMethodtimeout_ms
(&mut self, v: u64)
src/types.rs:662
↓ 2 callersMethodurl_hash
(&self, port: u16)
src/types.rs:334
↓ 1 callersMethodadd_der_certificate
(&mut self, cert: &[u8])
src/tls_api/rustls.rs:258
↓ 1 callersMethodadd_der_certificate
(&mut self, _cert: &[u8])
src/tls_api/dummy.rs:30
↓ 1 callersMethodadd_pem_certificate
(&mut self, _cert: &[u8])
src/tls_api/dummy.rs:34
↓ 1 callersFunctionascii_hex_to_num
(ch: u8)
src/types.rs:309
↓ 1 callersMethodauth
(&mut self, us: &str, pw: &str)
src/types.rs:553
↓ 1 callersMethodauth_recv
(&mut self, v: AuthenticateInfo)
src/types.rs:716
↓ 1 callersMethodbuild
(self)
src/tls_api/dummy.rs:38
↓ 1 callersMethodcall
( self, httpc: &mut HttpcImpl, poll: &Registry, )
src/types.rs:480
↓ 1 callersMethodcall_recv
( &mut self, poll: &Registry, call: &mut Call, buf: Option<&mut Vec<u8>>,
src/httpc.rs:268
next →1–100 of 437, ranked by callers