Constructor TransportFrame
- Namespace
- DSharpPlus.Net.Gateway
- Assembly
- DSharpPlus.dll
TransportFrame(object, WebSocketMessageType)
Creates a new transport frame from the specified data.
public TransportFrame(object value, WebSocketMessageType type)
Parameters
valueobjecttypeWebSocketMessageType