invoke

open override fun invoke(entity: TEntity)

Sends the entity to the consumer.

Parameters

entity

The entity to post as input.

Throws

when the server responds with HttpStatusCode.Forbidden.

for other non-success status codes.