MCPcopy Create free account
hub / github.com/actix/examples / ChatCodec

Class ChatCodec

websockets/chat-tcp/src/codec.rs:44–44  ·  view source on GitHub ↗

Codec for Client -> Server transport

Source from the content-addressed store, hash-verified

42#[allow(dead_code)] // Unused by the TCP client binary.
43pub struct ChatCodec;
44
45impl Decoder for ChatCodec {
46 type Item = ChatRequest;
47 type Error = io::Error;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected