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
Function
h2_frame_read_buf_check
(read_buf_size: usize, h2_max_frame_size: usize)
http/src/config.rs:209
↓ 2 callers
Method
h2c_prior_knowledge
Enable HTTP/2 cleartext (h2c) with prior knowledge. When enabled, the server peeks at the first bytes of each connection to detect whether the client
web/src/server.rs:135
↓ 2 callers
Method
handle_cmd
(&mut self, cmd: Command)
server/src/server/future.rs:153
↓ 2 callers
Method
handle_header
( &mut self, mut headers: headers::Headers, mut payload: BytesMut, is_end_head
http/src/h2/dispatcher.rs:192
↓ 2 callers
Function
hash_key
Hashes the `Sec-WebSocket-Key` header according to the WebSocket spec. Result is a Base64 encoded byte array. `base64(sha1(input))` is always 28 byte
http-ws/src/proto.rs:202
↓ 2 callers
Method
head
(&self)
http/src/h2/proto/frame/headers.rs:215
↓ 2 callers
Method
host_param
(&mut self, s: &str)
postgres/src/config.rs:734
↓ 2 callers
Method
inner_mut
Get a mutable reference of the inner response type.
client/src/response.rs:68
↓ 2 callers
Method
insert_typed
See [TypedRoute] for detail.
http/src/util/service/router.rs:74
↓ 2 callers
Method
into_data
(self)
http-body/src/frame.rs:10
↓ 2 callers
Function
into_err
(e: ConnectionError)
http/src/h3/proto/dispatcher_v2.rs:318
↓ 2 callers
Method
into_iter
(self)
http/src/h2/proto/frame/headers.rs:580
↓ 2 callers
Method
into_listener
(self)
server/src/net/mod.rs:126
↓ 2 callers
Method
into_parts
(self)
http/src/util/middleware/context.rs:72
↓ 2 callers
Method
into_token_stream
(self, builder_impl: &BuilderImpl<'_>)
codegen/src/service.rs:299
↓ 2 callers
Method
into_unescaped
(self)
router/src/escape.rs:119
↓ 2 callers
Method
iovecs
(&self)
tokio-uring/src/buf/fixed/plumbing/pool.rs:159
↓ 2 callers
Method
is_destroy_on_drop
(&self)
client/src/pool/shared.rs:238
↓ 2 callers
Function
is_dir
Returns true if the path represents a directory. Uses one asynchronous uring call to determine this.
tokio-uring/src/fs/create_dir_all.rs:189
↓ 2 callers
Function
is_dir_regfile
(path: P)
tokio-uring/src/fs/statx.rs:304
↓ 2 callers
Method
is_empty
(&self)
unsafe_collection/src/bytes/buf_list.rs:45
↓ 2 callers
Method
is_end_headers
(&self)
http/src/h2/proto/frame/headers.rs:179
↓ 2 callers
Method
is_expired
(&self)
client/src/pool/exclusive.rs:294
↓ 2 callers
Function
is_grpc_request
(ctx: &WebContext<'_, C, B>)
web/src/error/router.rs:73
↓ 2 callers
Method
is_padded
(&self)
http/src/h2/proto/frame/headers.rs:435
↓ 2 callers
Method
is_padded
(&self)
http/src/h2/proto/frame/data.rs:206
↓ 2 callers
Method
iter
(&self)
unsafe_collection/src/bound_queue/stack.rs:67
↓ 2 callers
Method
keep_alive_timeout
Change keep alive duration for Http/1 connection. Connection kept idle for this duration would be closed.
web/src/server.rs:104
↓ 2 callers
Method
len
(&self)
http/src/h2/proto/hpack/header.rs:102
↓ 2 callers
Method
log
(self, target: &str)
http/src/error.rs:57
↓ 2 callers
Method
lookup_result
(&mut self, absolute: Option<usize>)
http/src/h3/proto/qpack/dynamic.rs:91
↓ 2 callers
Method
make_exclusive
make exclusive connection that can be inserted into exclusive connection pool. an expected http version for connection is received and a final http ve
client/src/client.rs:458
↓ 2 callers
Method
map
(self, _: Self::Response)
web/src/handler/types/grpc.rs:143
↓ 2 callers
Function
max_http_version
()
client/src/builder.rs:597
↓ 2 callers
Method
max_mem_size
(&self)
http/src/h3/proto/qpack/dynamic.rs:494
↓ 2 callers
Method
max_size
(&self)
http/src/h2/proto/hpack/table.rs:108
↓ 2 callers
Method
measure_and_replace
(&self, _key: &Self::Key, f: F)
http-rate/src/state/keyed.rs:193
↓ 2 callers
Method
mock
compose a service request with given http request and it's mocked server side handler function
client/src/service/mod.rs:109
↓ 2 callers
Method
modified
(&mut self)
http-file/src/runtime.rs:103
↓ 2 callers
Method
name
(&self, slice: &'h [u8])
http-multipart/src/content_disposition.rs:44
↓ 2 callers
Method
next
(&mut self)
http/src/h2/proto/frame/headers.rs:586
↓ 2 callers
Function
noop
()
web/src/middleware/compress.rs:88
↓ 2 callers
Function
normalize_params
Returns `path` with normalized route parameters, and a parameter remapping to store at the node for this route. Note that the parameter remapping may
router/src/tree.rs:1071
↓ 2 callers
Method
on_read_close
(&mut self, reason: Option<io::Error>)
postgres/src/driver/generic.rs:328
↓ 2 callers
Function
open_typed_uni
(conn: &Connection, ty: StreamType)
http/src/h3/proto/dispatcher_v2.rs:371
↓ 2 callers
Method
openssl
use openssl as tls service. tls service is used for Http/1 and Http/2 protocols.
http/src/builder.rs:167
↓ 2 callers
Method
params
(&self)
postgres/src/statement.rs:177
↓ 2 callers
Method
parse
(read: &mut R)
http/src/h3/proto/qpack/encoder.rs:241
↓ 2 callers
Function
parse_content_length
(val: &HeaderValue)
http/src/h1/proto/header.rs:33
↓ 2 callers
Function
parse_headers
(headers: &mut HeaderMap, slice: &[u8])
http-multipart/src/header.rs:39
↓ 2 callers
Method
parse_message
(&mut self)
postgres/src/driver/codec.rs:103
↓ 2 callers
Function
peek_u8
(buf: &B)
http/src/h2/proto/hpack/decoder.rs:415
↓ 2 callers
Method
peer_addr
Get remote [`SocketAddr`] self connected to.
io/src/net/quic.rs:99
↓ 2 callers
Method
poll
(self: Pin<&mut Self>, cx: &mut Context<'_>)
client/src/timeout.rs:70
↓ 2 callers
Method
poll
(self: Pin<&mut Self>, cx: &mut Context<'_>)
postgres/src/query/stream.rs:394
↓ 2 callers
Method
poll_frame
( &mut self, buffer: &mut FrameBuffer, cx: &mut Context<'_>, )
http/src/h2/proto/stream.rs:148
↓ 2 callers
Method
poll_frame
(self: Pin<&mut Self>, cx: &mut Context<'_>)
http/src/h3/body.rs:22
↓ 2 callers
Function
poll_once
(future: impl std::future::Future)
tokio-uring/tests/driver.rs:130
↓ 2 callers
Method
poll_recv
(&mut self, cx: &mut Context<'_>)
postgres/src/driver/codec.rs:47
↓ 2 callers
Method
pong
(&self, bin: impl Into<Bytes>)
http-ws/src/stream.rs:210
↓ 2 callers
Method
pool
Returns a reference to the underlying connection pool.
examples/auth/src/db.rs:20
↓ 2 callers
Method
port
(&self)
client/src/connect.rs:22
↓ 2 callers
Function
position
(buf: &BytesMut)
http/src/h2/proto/hpack/encoder.rs:270
↓ 2 callers
Method
prepare_codec
(&mut self)
client/src/grpc.rs:98
↓ 2 callers
Function
prepare_endpoint
()
postgres/src/driver/quic.rs:259
↓ 2 callers
Function
private
()
examples/macros/src/main.rs:78
↓ 2 callers
Function
probe_distance
(mask: usize, hash: HashValue, current: usize)
http/src/h2/proto/hpack/table.rs:655
↓ 2 callers
Method
push_dec
(&self, bytes: &[u8])
http/src/h3/proto/dispatcher_v2.rs:107
↓ 2 callers
Method
put_i32_at
(&mut self, offset: usize, num: i32)
postgres/src/protocol.rs:164
↓ 2 callers
Function
qpack_stream_writer
Long-lived future that owns one of our outgoing QPACK SendStreams and drains pending bytes pushed by other tasks. One instance per stream — runs until
http/src/h3/proto/dispatcher_v2.rs:397
↓ 2 callers
Method
query
(self, cli: &'c GenericPoolConnection<P>)
postgres/src/pool/connection.rs:271
↓ 2 callers
Method
query_cancel
Attempts to cancel the in-progress query on the connection associated with Self. The server provides no information about whether a cancellation atte
postgres/src/cancel.rs:19
↓ 2 callers
Method
query_cancel_blocking
blocking version of [`Session::query_cancel`]
postgres/src/cancel.rs:28
↓ 2 callers
Function
raw_waker
()
unsafe_collection/src/futures.rs:267
↓ 2 callers
Method
read
(&mut self, buf: &mut [u8])
unsafe_collection/src/bytes/io.rs:43
↓ 2 callers
Function
read_bits
Read `len` bits from the `src` slice at the specified position Never read more than 8 bits at a time. `bit_offset` may be larger than 8.
http/src/h3/proto/qpack/prefix_string/decode.rs:81
↓ 2 callers
Function
read_to_buf
Read from IO into a BytesMut, reserving space if needed.
tls/src/rustls.rs:477
↓ 2 callers
Method
recursive
(&mut self, recursive: bool)
tokio-uring/src/fs/create_dir_all.rs:64
↓ 2 callers
Method
recv_push_frame
(&mut self, buffer: &mut FrameBuffer, frame: Frame, end_stream: bool)
http/src/h2/proto/stream.rs:333
↓ 2 callers
Method
recv_wake
(&mut self)
http/src/h2/proto/stream.rs:354
↓ 2 callers
Method
recv_window_update
(&mut self, window: WindowUpdate)
http/src/h2/proto/flow.rs:383
↓ 2 callers
Method
recvable
(&self)
http/src/h2/proto/stream.rs:270
↓ 2 callers
Method
register_buffers
(&mut self, buffers: Rc<RefCell<dyn FixedBuffers>>)
tokio-uring/src/runtime/driver/mod.rs:99
↓ 2 callers
Method
reinsert_entry_in_order
(&mut self, pos: Option<Pos>)
http/src/h2/proto/hpack/table.rs:495
↓ 2 callers
Method
relative_base
(&self, base: usize, index: RelativeIndex)
http/src/h3/proto/qpack/vas.rs:112
↓ 2 callers
Method
replace_headers
(&mut self, headers: HeaderMap)
http/src/h1/proto/context.rs:94
↓ 2 callers
Method
request_builder
(&self, url: U, method: Method)
client/src/client.rs:106
↓ 2 callers
Method
request_head_timeout
Change request timeout for Http/1 connection. Connection can not finish it's request for this duration would be closed. This timeout is also used in
web/src/server.rs:114
↓ 2 callers
Function
resident_memory_size
()
http-rate/src/lib.rs:391
↓ 2 callers
Method
respond
(self, ctx: WebContext<'r, C, B>)
web/src/handler/types/redirect.rs:52
↓ 2 callers
Method
retain_active_services
(&mut self)
server/src/worker/shutdown.rs:63
↓ 2 callers
Function
rlspin
(rl: Arc<DefaultDirectRateLimiter>)
http-rate/src/lib.rs:277
↓ 2 callers
Method
rollback
rollback runs in Drop trait impl. the execution part has to run eargerly
postgres/src/transaction.rs:44
↓ 2 callers
Method
run
(self)
http/src/h3/proto/dispatcher.rs:51
↓ 2 callers
Method
run
( io: Io, addr: SocketAddr, read_buf: BytesMut, timer: Pin<&'a mut KeepAlive>,
http/src/h1/dispatcher.rs:53
↓ 2 callers
Function
run_cmd
(cmd: &str, args: &[&str])
postgres/benches/fortune.rs:115
↓ 2 callers
Method
send_closed
(&self)
http-ws/src/codec.rs:120
↓ 2 callers
Function
send_pass
(drv: &mut GenericDriver<Io>, pass: impl AsRef<[u8]>, buf: &mut BytesMut)
postgres/src/session.rs:236
↓ 2 callers
Method
send_to
Sends data on the socket to the given address. On success, returns the number of bytes written.
tokio-uring/src/net/udp.rs:222
↓ 2 callers
Method
send_trailers
(&mut self, id: StreamId, trailers: HeaderMap)
http/src/h2/proto/flow.rs:688
← previous
next →
801–900 of 3,753, ranked by callers