Share via


IHubProtocol.WriteMessage(HubMessage, IBufferWriter<Byte>) Method

Definition

Writes the specified HubMessage to a writer.

public:
 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
Public Sub WriteMessage (message As HubMessage, output As IBufferWriter(Of Byte))

Parameters

message
HubMessage

The message to write.

output
IBufferWriter<Byte>

The output writer.

Applies to