Function fastly_api::apis::publish_api::publish
source · pub async fn publish(
configuration: &mut Configuration,
params: PublishParams
) -> Result<String, Error<PublishError>>
Expand description
Send one or more messages to Fanout subscribers. Each message specifies a channel, and Fanout will deliver the message to all subscribers of its channel. > IMPORTANT: For compatibility with GRIP, this endpoint requires a trailing slash, and the API token may be provided in the Authorization
header (instead of the Fastly-Key
header) using the Bearer
scheme.