Sisk

Method

HttpRequestEventSource.Send

Namespace
Sisk.Core.Http.Streams
Assembly
Sisk.Core.dll

Send(string?, string) #

Sends an event to the client over the HTTP connection.

C#
public bool Send(string? data, string fieldName = "data")

Parameters #

data string?

The data to be sent as part of the event.

fieldName string

The field name for the event data. Defaults to “data”.

Returns #

bool

True if the event was sent successfully, false otherwise.

Type to search the documentation and the API reference.