Share via


MessagePackHubProtocol.WriteMessage Method

Definition

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.

Implements

Applies to