Interface IStreamHandler<TWire>
Generic interface for stream handlers that process incoming transport messages of type TWire.
Inherited Members
Namespace: Glitch9.IO.Networking.RESTApi
Assembly: Glitch9.IO.dll
Syntax
public interface IStreamHandler<TWire> : IStreamHandler
Type Parameters
| Name | Description |
|---|---|
| TWire | The type of chunk or message received from the stream. |
Methods
| Edit this page View SourceIngress(TWire)
Called when a new chunk of type TWire is received from the stream.
Declaration
void Ingress(TWire @in)
Parameters
| Type | Name | Description |
|---|---|---|
| TWire | in | The received chunk or message. |