Table of Contents

Struct SendSignalRequest

Namespace
Vonage.Video.Signaling.SendSignal
Assembly
Vonage.dll

Represents a request to send a signal to specific participant.

[Builder(new string[] { })]
public readonly struct SendSignalRequest : IVonageRequest, IHasApplicationId, IHasSessionId, IHasConnectionId
Implements
Inherited Members

Properties

ApplicationId

The Vonage Application UUID.

[Mandatory(0)]
public Guid ApplicationId { get; }

Property Value

Guid

ConnectionId

The connection Id.

[Mandatory(2)]
public string ConnectionId { get; }

Property Value

string

Content

Sets the signal content to send. The type string has a maximum length of 128 bytes, and the data string has a maximum size of 8 kB.

[Mandatory(3)]
public SignalContent Content { get; }

Property Value

SignalContent

Examples

.WithContent(new SignalContent("chat", "Hello!"))

SessionId

The session Id.

[Mandatory(1)]
public string SessionId { get; }

Property Value

string

Methods

Build()

public static IBuilderForApplicationId Build()

Returns

IBuilderForApplicationId

BuildRequestMessage()

Converts the request to a HttpRequest.

public HttpRequestMessage BuildRequestMessage()

Returns

HttpRequestMessage

The Http request.