Delegate NetworkPipelineStage.SendDelegate
Send method of the pipeline stage.
Namespace: Unity.Networking.Transport
Assembly: Unity.Networking.Transport.dll
Syntax
public delegate int NetworkPipelineStage.SendDelegate(ref NetworkPipelineContext ctx, ref InboundSendBuffer inboundBuffer, ref NetworkPipelineStage.Requests requests, int systemHeadersSize)
Parameters
| Type | Name | Description |
|---|---|---|
| NetworkPipelineContext | ctx | Context for the pipeline stage. |
| InboundSendBuffer | inboundBuffer | Buffer for the packet being sent. |
| NetworkPipelineStage.Requests | requests | Requests of the pipeline stage. |
| int | systemHeadersSize | Total header size for the pipeline. |
Returns
| Type | Description |
|---|---|
| int | Error code or 0 on success. |