Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HFQR/xitca-web
/ functions
Functions
3,753 in github.com/HFQR/xitca-web
⨍
Functions
3,753
◇
Types & classes
917
↓ 2 callers
Method
add_suffix_child
Adds a suffix child to this node, keeping suffixes sorted by ascending length.
router/src/tree.rs:592
↓ 2 callers
Method
addrs
Get resolved request addresses.
client/src/connect.rs:116
↓ 2 callers
Method
allow_burst
Adjusts the maximum burst size for a quota to construct a rate limiter with a capacity for at most the given number of cells. # Panics - When max_bur
http-rate/src/quota.rs:103
↓ 2 callers
Method
allowed_methods
slice of allowed methods of current route.
http/src/util/service/route.rs:183
↓ 2 callers
Method
alpn_from_version
(&self)
client/src/builder.rs:252
↓ 2 callers
Function
apply_mask
(buf: &mut [u8], mask: [u8; 4])
http-ws/src/mask.rs:5
↓ 2 callers
Function
apply_mask_fast32
(buf: &mut [u8], mask: [u8; 4])
http-ws/src/mask.rs:19
↓ 2 callers
Method
as_header_size
(&self)
http/src/h2/proto/frame/headers.rs:660
↓ 2 callers
Method
as_raw_fd
(&self)
tokio-uring/src/net/tcp/stream.rs:300
↓ 2 callers
Method
as_ref
(&self)
unsafe_collection/src/bytes/byte_str.rs:104
↓ 2 callers
Method
as_response
(&mut self, body: ResB)
web/src/context.rs:141
↓ 2 callers
Method
as_stream_size_hint
(&self)
http-body/src/size_hint.rs:55
↓ 2 callers
Function
assert_invalid_fd
(fd: RawFd)
tokio-uring/tests/fs_file.rs:324
↓ 2 callers
Function
assert_send
(_: &F)
http-file/src/lib.rs:200
↓ 2 callers
Method
backlog
(mut self, num: u32)
server/src/builder.rs:114
↓ 2 callers
Method
body_get_mut
(&mut self)
web/src/context.rs:116
↓ 2 callers
Function
body_to_affected_rows
Extract the number of rows affected.
postgres/src/driver/codec.rs:112
↓ 2 callers
Method
borrow_cli_mut
(&mut self)
postgres/src/transaction/builder.rs:202
↓ 2 callers
Method
borrow_mut
(&mut self)
web/src/context.rs:173
↓ 2 callers
Function
bounded_split
(rem: &mut u64, buf: &mut BytesMut)
http/src/h1/proto/trasnder_coding.rs:539
↓ 2 callers
Method
buf_index
Index of the underlying registry buffer
tokio-uring/src/buf/fixed/handle.rs:58
↓ 2 callers
Method
buf_overflow
(&self)
http-multipart/src/lib.rs:256
↓ 2 callers
Function
buf_read
(buf: &mut B, io: &mut Io)
io/src/bytes.rs:208
↓ 2 callers
Method
bytes
Use pre allocated bytes as request body. Input type must implement [From] trait with [Bytes].
client/src/request.rs:75
↓ 2 callers
Method
bytes_init
(&self)
tokio-uring/src/buf/bounded.rs:133
↓ 2 callers
Method
bytes_init
(&self)
tokio-uring/src/buf/io_buf.rs:47
↓ 2 callers
Method
bytes_init
(&self)
tokio-uring/src/buf/fixed/handle.rs:68
↓ 2 callers
Method
bytes_total
(&self)
tokio-uring/src/buf/bounded.rs:137
↓ 2 callers
Method
bytes_total
(&self)
tokio-uring/src/buf/fixed/handle.rs:72
↓ 2 callers
Method
call
(&self, req: ServiceRequest<'r, 'c>)
client/src/middleware/redirect.rs:51
↓ 2 callers
Method
call
(&self, (stream, addr): (QuicStream, SocketAddr))
http/src/h3/service.rs:40
↓ 2 callers
Method
call
(&self, ctx: WebContext<'_, C>)
examples/auth/src/utils/error.rs:27
↓ 2 callers
Method
call
(&self, ctx: WebContext<'r, C>)
examples/error-handle/src/main.rs:92
↓ 2 callers
Method
call
(&self, arg: Arg)
web/src/middleware/catch_unwind.rs:44
↓ 2 callers
Method
call
(&self, res: Result<S, E>)
web/src/middleware/tower_http_compat.rs:54
↓ 2 callers
Method
call
(&self, res: Result<S, E>)
web/src/middleware/compress.rs:26
↓ 2 callers
Method
call
(&self, _: ())
web/src/handler/types/html.rs:65
↓ 2 callers
Method
call
(&self, _: ())
web/src/handler/types/redirect.rs:78
↓ 2 callers
Method
can_free
(&mut self, required: usize)
http/src/h3/proto/qpack/dynamic.rs:381
↓ 2 callers
Method
cancel
(&self)
postgres/src/statement.rs:116
↓ 2 callers
Method
capacity
(&self)
http/src/h2/proto/hpack/table.rs:104
↓ 2 callers
Method
check_idle
check given id. return true when it's an idle id (higher than last stream id)
http/src/h2/proto/last_stream_id.rs:30
↓ 2 callers
Method
chunk
(&self)
unsafe_collection/src/bytes/buf_list.rs:57
↓ 2 callers
Method
chunks_vectored_uninit_into_init
Write the item inside BufList in front-end order to given uninitialized slice and return the initialized part as a new slice. # Example: ```rust let
unsafe_collection/src/bytes/uninit.rs:83
↓ 2 callers
Method
client_mode
Set decoder to client mode. By default decoder works in server mode.
http-ws/src/codec.rs:108
↓ 2 callers
Function
client_request_extend
Extend a [Request] with websocket associated headers and methods. After extension the request would be ready to be sent to server. # HTTP/2 specific
http-ws/src/lib.rs:109
↓ 2 callers
Method
clone
(&self)
service/src/middleware/map.rs:12
↓ 2 callers
Method
codec_mut
(&mut self)
http-ws/src/stream.rs:74
↓ 2 callers
Method
col_buffer
Get the raw bytes for the column at the given range.
postgres/src/row/types.rs:98
↓ 2 callers
Method
config
replace service middleware's configuration.
http/src/builder.rs:143
↓ 2 callers
Function
connect
()
postgres/tests/sync.rs:10
↓ 2 callers
Method
connect
Start a new connect request for http tunnel. # Example ```rust use xitca_client::{Client, bytes::Bytes}; # async fn _main() -> Result<(), xitca_clie
client/src/client.rs:196
↓ 2 callers
Method
connect
(&self)
postgres/src/pool.rs:278
↓ 2 callers
Method
connecting
Expose [`Connecting`] type that can be polled or awaited. # Examples: ```rust # use xitca_io::net::QuicStream; async fn handle(stream: QuicStream) {
io/src/net/quic.rs:94
↓ 2 callers
Method
converge
(&mut self, prev_idx: Option<usize>)
http/src/h2/proto/hpack/table.rs:364
↓ 2 callers
Function
dangerous_config
(alpn: Vec<Vec<u8>>)
postgres/src/driver/tls.rs:49
↓ 2 callers
Method
data_ref
(&self)
http-body/src/frame.rs:26
↓ 2 callers
Method
date
(&self)
http/src/h1/proto/context.rs:74
↓ 2 callers
Method
decode
Decodes a Frame from the stream according to <https://www.rfc-editor.org/rfc/rfc9114#section-7.1>
http/src/h3/proto/frame.rs:69
↓ 2 callers
Method
decode4
Decodes 4 bits
http/src/h2/proto/hpack/huffman/mod.rs:78
↓ 2 callers
Function
decode_stateless
Decode field lines received on Request or Push stream. https://www.rfc-editor.org/rfc/rfc9204.html#name-field-line-representations
http/src/h3/proto/qpack/decoder.rs:227
↓ 2 callers
Method
decode_string
(&mut self, buf: &mut Cursor<&mut BytesMut>)
http/src/h2/proto/hpack/decoder.rs:313
↓ 2 callers
Function
deref_mut
(buf: &mut impl IoBufMut)
tokio-uring/src/buf/mod.rs:28
↓ 2 callers
Method
deref_mut
(&mut self)
client/src/pool/shared.rs:171
↓ 2 callers
Method
disable_signal
Disable signal listening. `tokio::signal` is used for listening and it only functions in tokio runtime 1.x. Disabling it would enable server runs in
web/src/server.rs:83
↓ 2 callers
Function
dns_resolve
(host: &'p str, ports: &'p [u16])
postgres/src/driver.rs:144
↓ 2 callers
Function
downcast_body
conditional boxing body to convert generic body type to conrete
web/src/body.rs:26
↓ 2 callers
Method
drain
(&mut self)
http/src/util/futures.rs:40
↓ 2 callers
Method
eat
(&mut self, target: char)
postgres/src/config.rs:465
↓ 2 callers
Method
enclosed_fn
Function version of [Self::enclosed] method.
service/src/service/ext.rs:21
↓ 2 callers
Method
encode
(self, encoder: &mut hpack::Encoder, dst: &mut EncodeBuf<'_>)
http/src/h2/proto/frame/headers.rs:165
↓ 2 callers
Method
encode
(&self, buf: &mut B)
http/src/h3/proto/coding.rs:24
↓ 2 callers
Method
encode_body
Encode a [`Body`] with featured encoder
http-encoding/src/coding.rs:100
↓ 2 callers
Method
encode_header
(&self, buf: &mut T)
http/src/h3/proto/frame.rs:287
↓ 2 callers
Method
encode_headers
( &mut self, headers: &mut HeaderMap, size: SizeHint, buf: &mut BytesMut,
http/src/h1/proto/encode.rs:99
↓ 2 callers
Function
encode_int_one_byte
Returns true if the in the int can be fully encoded in the first byte.
http/src/h2/proto/hpack/encoder.rs:266
↓ 2 callers
Function
encode_not_indexed
(name: usize, value: &[u8], sensitive: bool, dst: &mut BytesMut)
http/src/h2/proto/hpack/encoder.rs:176
↓ 2 callers
Function
encode_not_indexed2
(name: &[u8], value: &[u8], sensitive: bool, dst: &mut BytesMut)
http/src/h2/proto/hpack/encoder.rs:182
↓ 2 callers
Method
encode_size_updates
(&mut self, dst: &mut BytesMut)
http/src/h2/proto/hpack/encoder.rs:92
↓ 2 callers
Function
encode_statement_create
(name: &str, stmt: &str, types: &[Type], buf: &mut BytesMut)
postgres/src/driver/codec/encode.rs:82
↓ 2 callers
Function
encode_stmt_query
(stmt: &Statement, params: P, buf: &mut BytesMut)
postgres/src/driver/codec/encode.rs:133
↓ 2 callers
Method
ensure_zero
(&self)
http/src/h2/proto/stream.rs:302
↓ 2 callers
Method
evict
(&mut self, to_evict: usize)
http/src/h3/proto/qpack/dynamic.rs:359
↓ 2 callers
Function
evict_if_generation_matches
(conns: &Mutex<HashMap<K, PooledConnection<C>>>, key: &K, generation: u64)
client/src/pool/shared.rs:114
↓ 2 callers
Method
evicted
(&self, index: AbsoluteIndex)
http/src/h3/proto/qpack/vas.rs:108
↓ 2 callers
Method
extend_response
extend response headers with status code and headers StatusCode: 429 Header: `x-ratelimit-after: <num in second>`
http-rate/src/error.rs:39
↓ 2 callers
Method
extract
extract typed data from WebContext. type must impl [FromRequest] trait. this is a shortcut method that avoiding explicit import of mentioned trait. #
web/src/context.rs:75
↓ 2 callers
Method
fallocate
Manipulate the allocated disk space of the file. The manipulated range starts at the `offset` and continues for `len` bytes. The specific manipulati
tokio-uring/src/fs/file.rs:818
↓ 2 callers
Method
find_name
(&mut self, name: &[u8])
http/src/h3/proto/qpack/dynamic.rs:180
↓ 2 callers
Method
finish
(&self)
unsafe_collection/src/no_hash.rs:16
↓ 2 callers
Function
fn_build
Shortcut for transform a given Fn into type impl [Service] trait.
service/src/service/function.rs:6
↓ 2 callers
Method
front_mut
(&mut self)
unsafe_collection/src/bound_queue/heap.rs:50
↓ 2 callers
Method
get
(&self, id: SettingId)
http/src/h3/proto/frame.rs:424
↓ 2 callers
Method
get
(&mut self)
http/src/h1/dispatcher.rs:249
↓ 2 callers
Method
get_buf
(&self)
tokio-uring/src/buf/slice.rs:184
↓ 2 callers
Function
get_domain
(socket_addr: SocketAddr)
tokio-uring/src/io/socket.rs:22
↓ 2 callers
Method
get_hosts
Gets the hosts that have been added to the configuration with `host`.
postgres/src/config.rs:201
↓ 2 callers
Method
get_postbase
(&self, index: usize)
http/src/h3/proto/qpack/dynamic.rs:42
↓ 2 callers
Method
get_ssl_negotiation
Gets the SSL negotiation method.
postgres/src/config.rs:174
↓ 2 callers
Method
grpc_stream
Start a new streaming gRPC request. Unlike [`Client::grpc`], the returned request resolves to a [`Grpc`] tunnel that implements both [`Sink`] (for se
client/src/client.rs:442
← previous
next →
701–800 of 3,753, ranked by callers