Class DisconnectRequest
public class DisconnectRequest : IOobMessage
- Inheritance
-
DisconnectRequest
- Implements
Constructors
DisconnectRequest(ConnectionCloseReason)
public DisconnectRequest(ConnectionCloseReason reason)
Parameters
reason
ConnectionCloseReason
Properties
IsReliable
public bool IsReliable { get; set; }
Property Value
Reason
public ConnectionCloseReason Reason { get; }
Property Value
Type
public OobMessageType Type { get; }
Property Value
Methods
Deserialize(IInOctetStream)
public static DisconnectRequest Deserialize(IInOctetStream inStream)
Parameters
inStream
IInOctetStream
Returns
Serialize(IOutOctetStream)
public void Serialize(IOutOctetStream outStream)
Parameters
outStream
IOutOctetStream
ToString()
public override string ToString()