Method MaxHeaderSize
MaxHeaderSize(NetworkPipeline)
Get the maximum size of headers when sending on the given pipeline.
Declaration
public int MaxHeaderSize(NetworkPipeline pipe)
Parameters
Type | Name | Description |
---|---|---|
NetworkPipeline | pipe | Pipeline to get the header size for. |
Returns
Type | Description |
---|---|
int | The maximum size of the headers on the given pipeline. |
Remarks
Only accounts for the Unity Transport headers (no UDP or IP).