v7
latestSwagger 2.02026-07-13251565.9 KBwebpubsub
Send content inside request body to the specific connection.
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 API version to use for this operation.
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 byte required
Response
The request has been accepted for processing, but processing has not yet completed.