MessagePackHubProtocol.WriteMessage Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Writes the specified HubMessage to a writer.
public:
virtual void WriteMessage(Microsoft::AspNetCore::SignalR::Protocol::HubMessage ^ message, System::Buffers::IBufferWriter<System::Byte> ^ output);
public void WriteMessage (Microsoft.AspNetCore.SignalR.Protocol.HubMessage message, System.Buffers.IBufferWriter<byte> output);
abstract member WriteMessage : Microsoft.AspNetCore.SignalR.Protocol.HubMessage * System.Buffers.IBufferWriter<byte> -> unit
override this.WriteMessage : Microsoft.AspNetCore.SignalR.Protocol.HubMessage * System.Buffers.IBufferWriter<byte> -> unit
Public Sub WriteMessage (message As HubMessage, output As IBufferWriter(Of Byte))
Parameters
- message
- HubMessage
The message to write.
- output
- IBufferWriter<Byte>
The output writer.