MCPcopy Create free account

hub / github.com/MOZGIII/xwt / functions

Functions337 in github.com/MOZGIII/xwt

↓ 29 callersFunctionrun
( endpoint: Endpoint, url: &str, )
crates/xwt-tests/src/tests/chunks.rs:30
↓ 23 callersMethodfinish
(self)
crates/xwt-erased/src/stream.rs:116
↓ 19 callersMethodas_ref
Return the reference to this signature.
crates/xwt-cert-fingerprint/src/lib.rs:122
↓ 16 callersFunctionconnect
( endpoint: &Endpoint, url: &str, )
crates/xwt-tests/src/utils.rs:3
↓ 16 callersMethodread
(&'a mut self, buf: &'a mut [u8])
crates/xwt-erased/src/stream.rs:61
↓ 16 callersFunctionsetup
()
crates/xwt-web/tests/test.rs:13
↓ 16 callersFunctiontest_endpoint
()
crates/xwt-web/tests/test.rs:20
↓ 13 callersFunctionsetup
()
crates/xwt-wtransport/tests/test.rs:12
↓ 13 callersFunctiontest_endpoint
()
crates/xwt-wtransport/tests/test.rs:22
↓ 12 callersMethodwrite
(&'a mut self, buf: &'a [u8])
crates/xwt-erased/src/stream.rs:95
↓ 10 callersFunctionopen_bi
( session: &Session, )
crates/xwt-tests/src/utils.rs:43
↓ 10 callersFunctionread
( reader: &web_sys::ReadableStreamDefaultReader, )
crates/web-sys-stream-utils/src/lib.rs:32
↓ 8 callersMethodaccept_bi
(&self)
crates/xwt-erased/src/session/stream.rs:32
↓ 8 callersFunctionwrite
( writer: &web_sys::WritableStreamDefaultWriter, buf: T, )
crates/web-sys-stream-utils/src/lib.rs:82
↓ 7 callersMethodinto_inner
(self)
crates/xwt-erased/src/error.rs:9
↓ 6 callersMethodopen_bi
(&self)
crates/xwt-erased/src/session/stream.rs:14
↓ 6 callersMethodtransport_ref
Obtain a transport ref.
crates/xwt-web/src/lib.rs:124
↓ 5 callersMethodconnect
(&self, url: &str)
crates/xwt-erased/src/endpoint/client.rs:22
↓ 5 callersFunctionfrom_http
Convert the HTTP3 code value to WebTransport code.
crates/xwt-wtransport/src/error_codes.rs:28
↓ 5 callersMethodsend_datagram
(&self, payload: D)
crates/xwt-erased/src/session/datagram.rs:40
↓ 5 callersMethodwait_bi
(self)
crates/xwt-erased/src/session/stream.rs:52
↓ 5 callersMethodwait_connect
(self)
crates/xwt-erased/src/endpoint/client.rs:35
↓ 4 callersMethodaccept
(&self)
crates/xwt-erased/src/endpoint/server.rs:22
↓ 4 callersMethodis_done
Returns `true` if `done` field exists and set to `true`.
crates/web-wt-sys/src/streams/readable_stream_read_result.rs:34
↓ 4 callersMethodis_error_code
(&self, expected_error_code: xwt_dyn::stream::ErrorCode)
crates/xwt-erased/src/stream.rs:41
↓ 4 callersMethodreceive_datagram
(&self)
crates/xwt-erased/src/session/datagram.rs:23
↓ 3 callersFunctionclient
()
crates/xwt-erased/tests/web.rs:8
↓ 3 callersMethodok
(self)
crates/xwt-wtransport/src/lib.rs:57
↓ 3 callersMethodok
(self)
crates/xwt-erased/src/endpoint/server.rs:48
↓ 3 callersFunctionserver
()
crates/xwt-erased/tests/native.rs:19
↓ 3 callersMethodsource
(&self)
crates/xwt-erased/src/error.rs:31
↓ 3 callersMethodto_js
Creates a JavaScript value from this value.
crates/xwt-web/src/options.rs:91
↓ 3 callersMethodwait_accept
(self)
crates/xwt-erased/src/endpoint/server.rs:35
↓ 3 callersFunctionwebtransport_code_to_http_code
Convert the WebTransport error code into the HTTP3 error code. We need this because wtransport does not convert error codes at all.
crates/xwt-test-server/src/routes/close.rs:146
↓ 2 callersMethodaborted
(self)
crates/xwt-erased/src/stream.rs:75
↓ 2 callersMethodaccept_uni
(&self)
crates/xwt-erased/src/session/stream.rs:41
↓ 2 callersMethodas_error_code
(&self)
crates/xwt-erased/src/stream.rs:36
↓ 2 callersMethodas_ref
(&self)
crates/xwt-wtransport/src/lib.rs:313
↓ 2 callersMethodclose
(self, status: u16)
crates/xwt-wtransport/src/lib.rs:61
↓ 2 callersMethodclose
(self, status: u16)
crates/xwt-erased/src/endpoint/server.rs:57
↓ 2 callersFunctionget_reader_byob
( readable_stream: impl Into<web_sys::ReadableStream>, )
crates/web-sys-stream-utils/src/lib.rs:16
↓ 2 callersFunctionopen_uni
( session: &Session, )
crates/xwt-tests/src/utils.rs:58
↓ 2 callersMethodopen_uni
(&self)
crates/xwt-erased/src/session/stream.rs:23
↓ 2 callersMethodread
(&mut self, buf: &mut [u8])
crates/xwt-web/src/lib.rs:508
↓ 2 callersFunctionread_byob
( reader: &web_sys::ReadableStreamByobReader, buf: js_sys::Uint8Array, )
crates/web-sys-stream-utils/src/lib.rs:50
↓ 2 callersMethodreceive_with
Receive the datagram and handle the buffer with the given function. Cloning the buffer in the `f` will result in the undefined behaviour, because it
crates/xwt-web/src/lib.rs:593
↓ 2 callersMethodrun
Run the client.
examples/microapp/client-shared/src/lib.rs:27
↓ 2 callersFunctionserve_stream
( stream: (wtransport::SendStream, wtransport::RecvStream), )
crates/xwt-test-server/src/routes/echo.rs:39
↓ 2 callersFunctionto_http
Convert the WebTransport code value to HTTP3 code.
crates/xwt-wtransport/src/error_codes.rs:12
↓ 2 callersMethodwait_uni
(self)
crates/xwt-erased/src/session/stream.rs:63
↓ 2 callersFunctionwrap_bi_stream
Take a bidi stream and wrap a reader and writer for it.
crates/xwt-web/src/lib.rs:285
↓ 2 callersFunctionwrap_recv_stream
Open a reader for the given stream and create a [`RecvStream`].
crates/xwt-web/src/lib.rs:252
↓ 2 callersFunctionwrap_send_stream
Open a writer for the given stream and create a [`SendStream`].
crates/xwt-web/src/lib.rs:270
↓ 1 callersMethodaccept
(&self)
crates/xwt-wtransport/src/lib.rs:36
↓ 1 callersMethodas_ref
(&self)
crates/xwt-erased/src/session/datagram.rs:17
↓ 1 callersMethodchat_inbound_loop
Print the chat messages we get from the server on screen.
examples/microapp/client-shared/src/lib.rs:81
↓ 1 callersMethodchat_inbound_loop
Handle the inbound chat messages by sending them to the chat broadcast.
examples/microapp/server-shared/src/lib.rs:65
↓ 1 callersMethodchat_inbound_loop
Print the chat messages we get from the server on screen.
examples/microapp-erased/client-shared/src/lib.rs:72
↓ 1 callersMethodchat_inbound_loop
Handle the inbound chat messages by sending them to the chat broadcast.
examples/microapp-erased/server-shared/src/lib.rs:52
↓ 1 callersMethodchat_outbound_loop
Create random chat messages and sent them via to the chat stream.
examples/microapp/client-shared/src/lib.rs:61
↓ 1 callersMethodchat_outbound_loop
Handle the broadcasted chat messages by sending them to the chat stream.
examples/microapp/server-shared/src/lib.rs:87
↓ 1 callersMethodchat_outbound_loop
Create random chat messages and sent them via to the chat stream.
examples/microapp-erased/client-shared/src/lib.rs:52
↓ 1 callersMethodchat_outbound_loop
Handle the broadcasted chat messages by sending them to the chat stream.
examples/microapp-erased/server-shared/src/lib.rs:74
↓ 1 callersFunctioncheck_for_expired_generation
(dir: &Path)
crates/xwt-test-assets-build/src/lib.rs:134
↓ 1 callersFunctionendpoint
( params: EndpointParams, )
crates/xwt-test-server/src/lib.rs:16
↓ 1 callersFunctionenv_dir
(key: &str)
crates/xwt-test-assets-build/src/lib.rs:60
↓ 1 callersFunctiongenerate
()
crates/xwt-test-assets-build/src/lib.rs:21
↓ 1 callersFunctionget_writer
( writable_stream: web_sys::WritableStream, )
crates/web-sys-stream-utils/src/lib.rs:26
↓ 1 callersFunctionhandle
Handle connecting users.
examples/microapp/server-native/src/lib.rs:46
↓ 1 callersFunctionhandle
Handle connecting users.
examples/microapp-erased/server-native/src/lib.rs:46
↓ 1 callersMethodhandle
Handle the inbound connection from a client.
examples/microapp/server-shared/src/lib.rs:38
↓ 1 callersMethodhandle
Handle the inbound connection from a client.
examples/microapp-erased/server-shared/src/lib.rs:25
↓ 1 callersMethodhandle_session
( self, connection: std::sync::Arc<wtransport::Connection>, )
crates/xwt-test-server/src/handling.rs:23
↓ 1 callersFunctionhandle_session_with
( handler: T, session: std::sync::Arc<wtransport::Connection>, )
crates/xwt-test-server/src/handling.rs:80
↓ 1 callersMethodis_error_code
(&self, expected_error_code: stream::ErrorCode)
crates/xwt-core/src/stream_utils.rs:51
↓ 1 callersFunctionjs_value_to_io_error
(error: wasm_bindgen::JsValue)
crates/web-sys-async-io/src/lib.rs:16
↓ 1 callersMethodmax_datagram_size
(&self)
crates/xwt-erased/src/session/datagram.rs:51
↓ 1 callersMethodmovement_loop
Create random movements and send them as datagrams.
examples/microapp/client-shared/src/lib.rs:45
↓ 1 callersMethodmovement_loop
Announce the client movements to the chat. Normally you'd update the world state and replicate it, but this is a simple example :P.
examples/microapp/server-shared/src/lib.rs:108
↓ 1 callersMethodmovement_loop
Create random movements and send them as datagrams.
examples/microapp-erased/client-shared/src/lib.rs:36
↓ 1 callersMethodmovement_loop
Announce the client movements to the chat. Normally you'd update the world state and replicate it, but this is a simple example :P.
examples/microapp-erased/server-shared/src/lib.rs:95
↓ 1 callersMethodread
(&mut self, buf: &mut [u8])
crates/xwt-wtransport/src/lib.rs:147
↓ 1 callersMethodread_chunk
( &mut self, max_length: usize, ordered: bool, )
crates/xwt-dyn/src/stream.rs:242
↓ 1 callersMethodreceive_datagram
(&self)
crates/xwt-wtransport/src/lib.rs:307
↓ 1 callersMethodreceive_datagram_into
(&self, buf: &mut [u8])
crates/xwt-erased/src/session/datagram.rs:32
↓ 1 callersMethodrun
Run the client.
examples/microapp-erased/client-shared/src/lib.rs:18
↓ 1 callersFunctionsave
(dir: impl AsRef<Path>, files: Vec<(&'static str, AnyBytes)>)
crates/xwt-test-assets-build/src/lib.rs:70
↓ 1 callersFunctionserve_endpoint
( endpoint: wtransport::Endpoint<wtransport::endpoint::endpoint_side::Server>, )
crates/xwt-test-server/src/lib.rs:51
↓ 1 callersFunctionserve_incoming_session
( incoming_session: wtransport::endpoint::IncomingSession, )
crates/xwt-test-server/src/lib.rs:67
↓ 1 callersFunctionserve_opening_bi_stream
( opening_bi_stream: wtransport::stream::OpeningBiStream, )
crates/xwt-test-server/src/routes/echo_open_bi.rs:41
↓ 1 callersMethodset_algorithm
Set the algorithm.
crates/web-wt-sys/src/webtransport/web_transport_hash.rs:24
↓ 1 callersMethodset_value
Set the value.
crates/web-wt-sys/src/webtransport/web_transport_hash.rs:29
↓ 1 callersFunctionsetup
()
crates/web-wt-sys/tests/webtransport.rs:10
↓ 1 callersFunctionsetup_chat
Prepare the HTML element to write the chat text to.
examples/microapp/client-web/src/lib.rs:43
↓ 1 callersFunctionsetup_chat
Prepare the HTML element to write the chat text to.
examples/microapp-erased/client-web/src/lib.rs:42
↓ 1 callersMethodspawn_handle_session
( self, joinset: &mut tokio::task::JoinSet<()>, session: std::sync::Arc<wtransport::Co
crates/xwt-test-server/src/handling.rs:43
↓ 1 callersMethodwrite_chunk
( &'a mut self, buf: &'a [u8], )
crates/xwt-dyn/src/stream.rs:277
Methodabort
(self, error_code: xwt_core::stream::ErrorCode)
crates/xwt-wtransport/src/lib.rs:162
Methodabort
(self, error_code: xwt_core::stream::ErrorCode)
crates/xwt-anchor/src/impls/xwt_core/streams.rs:24
Methodabort
(self, error_code: xwt_dyn::stream::ErrorCode)
crates/xwt-erased/src/stream.rs:68
next →1–100 of 337, ranked by callers