MessagePackHubProtocol.WriteMessage 方法

定义

将指定的 HubMessage 写入器。

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))

参数

message
HubMessage

要写入的消息。

output
IBufferWriter<Byte>

输出编写器。

实现

适用于