Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MOZGIII/xwt
/ functions
Functions
337 in github.com/MOZGIII/xwt
⨍
Functions
337
◇
Types & classes
182
Method
from_inner
(inner: Box<dyn xwt_dyn::base::Session>)
crates/xwt-erased/src/session/mod.rs:13
Method
from_transport
Create a datagrams state from the transport.
crates/xwt-web/src/lib.rs:162
Method
from_transport_datagrams
Create a datagrams state from the transport datagrams.
crates/xwt-web/src/lib.rs:167
Function
get_reader
( readable_stream: impl Into<web_sys::ReadableStream>, )
crates/web-sys-stream-utils/src/lib.rs:8
Method
handle_session_request
( self, session_request: wtransport::endpoint::SessionRequest, )
crates/xwt-test-server/src/handling.rs:115
Method
handler
()
crates/xwt-test-server/src/routes/close.rs:10
Method
handler
()
crates/xwt-test-server/src/routes/echo_open_bi.rs:10
Method
handler
()
crates/xwt-test-server/src/routes/echo.rs:10
Method
into_inner
Return the 32-byte array of the signature data.
crates/xwt-cert-fingerprint/src/lib.rs:117
Method
into_inner
(self)
crates/xwt-erased/src/session/mod.rs:9
Method
is_closed
(&self)
crates/xwt-erased/src/stream.rs:46
Method
is_closed
(&self)
crates/xwt-core/src/stream_utils.rs:59
Method
is_write_vectored
(&self)
crates/xwt-wtransport/src/lib.rs:376
Function
main
The main entrypoint.
examples/microapp/client-native/src/lib.rs:8
Function
main
The main entrypoint.
examples/microapp/server-native/src/lib.rs:11
Function
main
The main entrypoint.
examples/microapp/client-web/src/lib.rs:9
Function
main
The main entrypoint.
examples/microapp-erased/server-native/src/lib.rs:10
Function
main
()
crates/xwt-test-server/src/main.rs:9
Function
main
Build script to generate the assets.
crates/xwt-test-assets/build.rs:3
Function
main
()
crates/xwt/build.rs:18
Function
make_client
The main entrypoint.
examples/microapp-erased/client-native/src/lib.rs:6
Function
make_client
The main entrypoint.
examples/microapp-erased/client-web/src/lib.rs:9
Function
map_streams
Take a pair of stream ends and wrap into our newtypes.
crates/xwt-wtransport/src/lib.rs:80
Method
max_datagram_size
(&self)
crates/xwt-wtransport/src/lib.rs:228
Method
max_datagram_size
(&self)
crates/xwt-anchor/src/impls/xwt_core/session_datagrams.rs:48
Method
max_datagram_size
(&self)
crates/xwt-erased/src/core_compat/session/datagram.rs:4
Method
max_datagram_size
(&self)
crates/xwt-web/src/lib.rs:624
Method
new
Create new certificate generation params with the given common name and subject alt names and the standard WebTransport self-signed certificate two-we
crates/xwt-cert-gen/src/lib.rs:21
Method
new
(inner: web_sys::WritableStreamDefaultWriter)
crates/web-sys-async-io/src/writer.rs:25
Method
new
(inner: web_sys::ReadableStreamByobReader)
crates/web-sys-async-io/src/reader.rs:28
Method
new
(val: impl xwt_dyn::endpoint::Accept + 'static)
crates/xwt-erased/src/endpoint/server.rs:12
Method
new
(val: impl xwt_dyn::endpoint::Connect + 'static)
crates/xwt-erased/src/endpoint/client.rs:12
Method
new
Construct a new session from a [`web_wt_sys::WebTransport`].
crates/xwt-web/src/lib.rs:83
Method
ok
(self)
crates/xwt-anchor/src/impls/xwt_core/endpoint_accept.rs:39
Method
ok
(self)
crates/xwt-erased/src/core_compat/endpoint/server.rs:24
Method
ok
( self: Box<Self>, )
crates/xwt-dyn/src/endpoint/accept.rs:94
Function
ok_accepting
( accepting: Accepting, )
crates/xwt-tests/src/utils.rs:23
Method
open_bi
(&self)
crates/xwt-wtransport/src/lib.rs:102
Method
open_bi
(&self)
crates/xwt-anchor/src/impls/xwt_core/session_streams.rs:28
Method
open_bi
(&self)
crates/xwt-erased/src/core_compat/session/stream.rs:29
Method
open_bi
(&self)
crates/xwt-web/src/lib.rs:303
Method
open_bi
( &self, )
crates/xwt-dyn/src/session/stream.rs:90
Function
open_bi_stream
( connection: impl AsRef<wtransport::Connection>, )
crates/xwt-test-server/src/routes/echo_open_bi.rs:15
Method
open_uni
(&self)
crates/xwt-wtransport/src/lib.rs:131
Method
open_uni
(&self)
crates/xwt-anchor/src/impls/xwt_core/session_streams.rs:56
Method
open_uni
(&self)
crates/xwt-erased/src/core_compat/session/stream.rs:38
Method
open_uni
(&self)
crates/xwt-web/src/lib.rs:334
Method
open_uni
( &self, )
crates/xwt-dyn/src/session/stream.rs:182
Method
poll_flush
( mut self: std::pin::Pin<&mut Self>, cx: &mut std::task::Context<'_>, )
crates/xwt-wtransport/src/lib.rs:360
Method
poll_flush
( mut self: std::pin::Pin<&mut Self>, cx: &mut std::task::Context<'_>, )
crates/web-sys-async-io/src/writer.rs:55
Method
poll_flush
( mut self: std::pin::Pin<&mut Self>, cx: &mut std::task::Context<'_>, )
crates/xwt-web/src/lib.rs:370
Method
poll_read
( mut self: std::pin::Pin<&mut Self>, cx: &mut std::task::Context<'_>, buf: &mut tokio
crates/xwt-wtransport/src/lib.rs:383
Method
poll_read
( mut self: Pin<&mut Self>, cx: &mut std::task::Context<'_>, buf: &mut tokio::io::Read
crates/web-sys-async-io/src/reader.rs:49
Method
poll_read
( mut self: std::pin::Pin<&mut Self>, cx: &mut std::task::Context<'_>, buf: &mut tokio
crates/xwt-web/src/lib.rs:386
Method
poll_shutdown
( mut self: std::pin::Pin<&mut Self>, cx: &mut std::task::Context<'_>, )
crates/xwt-wtransport/src/lib.rs:368
Method
poll_shutdown
( mut self: std::pin::Pin<&mut Self>, cx: &mut std::task::Context<'_>, )
crates/web-sys-async-io/src/writer.rs:74
Method
poll_shutdown
( mut self: std::pin::Pin<&mut Self>, cx: &mut std::task::Context<'_>, )
crates/xwt-web/src/lib.rs:377
Method
poll_write
( mut self: std::pin::Pin<&mut Self>, cx: &mut std::task::Context<'_>, buf: &[u8],
crates/xwt-wtransport/src/lib.rs:342
Method
poll_write
( mut self: std::pin::Pin<&mut Self>, cx: &mut std::task::Context<'_>, buf: &[u8],
crates/web-sys-async-io/src/writer.rs:34
Method
poll_write
( mut self: std::pin::Pin<&mut Self>, cx: &mut std::task::Context<'_>, buf: &[u8],
crates/xwt-web/src/lib.rs:362
Method
poll_write_vectored
( mut self: std::pin::Pin<&mut Self>, cx: &mut std::task::Context<'_>, bufs: &[std::io
crates/xwt-wtransport/src/lib.rs:351
Method
read
(&mut self, buf: &mut [u8])
crates/xwt-anchor/src/impls/xwt_core/streams.rs:68
Method
read
(&mut self, buf: &mut [u8])
crates/xwt-erased/src/core_compat/stream/recv.rs:4
Method
read
( &'a mut self, buf: &'a mut [u8], )
crates/xwt-dyn/src/stream.rs:31
Function
read_resize_buf
()
crates/xwt-wtransport/tests/test.rs:94
Function
read_resize_buf
()
crates/xwt-web/tests/test.rs:82
Function
read_small_buf
()
crates/xwt-wtransport/tests/test.rs:83
Function
read_small_buf
()
crates/xwt-web/tests/test.rs:71
Method
receive_datagram
(&self)
crates/xwt-anchor/src/impls/xwt_core/session_datagrams.rs:14
Method
receive_datagram
(&self)
crates/xwt-erased/src/core_compat/session/datagram.rs:13
Method
receive_datagram
(&self)
crates/xwt-web/src/lib.rs:635
Method
receive_datagram
( &self, )
crates/xwt-dyn/src/session/datagram.rs:29
Method
receive_datagram_into
(&self, buf: &mut [u8])
crates/xwt-wtransport/src/lib.rs:321
Method
receive_datagram_into
(&self, buf: &mut [u8])
crates/xwt-anchor/src/impls/xwt_core/session_datagrams.rs:25
Method
receive_datagram_into
(&self, buf: &mut [u8])
crates/xwt-erased/src/core_compat/session/datagram.rs:21
Method
receive_datagram_into
(&self, buf: &mut [u8])
crates/xwt-web/src/lib.rs:645
Method
receive_datagram_into
( &'a self, buf: &'a mut [u8], )
crates/xwt-dyn/src/session/datagram.rs:58
Function
route
( session_request: wtransport::endpoint::SessionRequest, )
crates/xwt-test-server/src/handling.rs:174
Function
run
Run the client with some common and type-unified logic. This is not possible with just `xwt_core`, as you need to specify a concrete driver type - for
examples/microapp-erased/client/src/main.rs:36
Function
run
(endpoint: Endpoint, url: &str)
crates/xwt-tests/src/tests/tokio_io_read_small_buf.rs:24
Function
run
(endpoint: Endpoint, url: &str)
crates/xwt-tests/src/tests/tokio_io_read_buf_resize.rs:24
Function
run
( endpoint: Endpoint, url: &str, expected_error_code: xwt_core::stream::ErrorCode, )
crates/xwt-tests/src/tests/closed_uni_stream.rs:24
Function
run
( endpoint: Endpoint, url: &str, expected_error_code: xwt_core::stream::ErrorCode, )
crates/xwt-tests/src/tests/closed_bi_read_stream.rs:22
Function
run
(endpoint: Endpoint, url: &str)
crates/xwt-tests/src/tests/streams.rs:22
Function
run
(endpoint: Endpoint, url: &str)
crates/xwt-tests/src/tests/tokio_io.rs:24
Function
run
( endpoint: Endpoint, url: &str, checker: impl FnOnce(&ReadErrorFor<RecvStreamFor<ConnectSessionFo
crates/xwt-tests/src/tests/session_drop.rs:24
Function
run
(endpoint: Endpoint, url: &str)
crates/xwt-tests/src/tests/read_resize_buf.rs:22
Function
run
(endpoint: Endpoint, url: &str)
crates/xwt-tests/src/tests/read_small_buf.rs:22
Function
run
(endpoint: Endpoint, url: &str)
crates/xwt-tests/src/tests/datagrams_read_into.rs:22
Function
run
(endpoint: Endpoint, url: &str)
crates/xwt-tests/src/tests/accept_bi_stream.rs:24
Function
run
(endpoint: Endpoint, url: &str)
crates/xwt-tests/src/tests/datagrams.rs:28
Function
run
( endpoint: Endpoint, url: &str, expected_error_code: xwt_core::stream::ErrorCode, )
crates/xwt-tests/src/tests/closed_bi_send_stream.rs:26
Method
self_signed
Generate a new self-signed certificate from this params and a given key. A self signed certificate is a certificate containing the public component o
crates/xwt-cert-gen/src/lib.rs:87
Method
send_datagram
(&self, payload: D)
crates/xwt-wtransport/src/lib.rs:332
Method
send_datagram
(&self, payload: D)
crates/xwt-anchor/src/impls/xwt_core/session_datagrams.rs:36
Method
send_datagram
(&self, payload: D)
crates/xwt-erased/src/core_compat/session/datagram.rs:29
Method
send_datagram
(&self, payload: D)
crates/xwt-web/src/lib.rs:660
Method
send_datagram
( &'a self, payload: &'a [u8], )
crates/xwt-dyn/src/session/datagram.rs:84
Function
serve_datagrams
( connection: impl AsRef<wtransport::Connection>, )
crates/xwt-test-server/src/routes/echo.rs:65
Function
serve_streams
( connection: impl AsRef<wtransport::Connection>, )
crates/xwt-test-server/src/routes/echo.rs:15
← previous
next →
201–300 of 337, ranked by callers