v1

latestSwagger 2.02026-07-1324555.3 KB
webpubsub

Send content inside request body to the specific connection.

post/api/hubs/{hub}/connections/{connectionId}/:send

Path parameters

hubstring required

Target hub name, which should start with alphabetic characters and only contain alpha-numeric characters or underscore.

connectionIdstring required

The connection Id.

Query parameters

api-versionstring required

The version of the REST APIs.

messageTtlSecondsinteger

The time-to-live (TTL) value in seconds for messages sent to the service. 0 is the default value, which means the message never expires. 300 is the maximum value. If this parameter is non-zero, messages that are not consumed by the client within the specified TTL will be dropped by the service. This parameter can help when the client's bandwidth is limited.

Request body

string binary required

Response

Accepted