RequestHeaders

annotation class RequestHeaders

Marks a Headers parameter as the request headers. The values passed to the client method will be set as request headers when the request is made. The value received on the server side is the headers from the HTTP request.

These headers will be set after scopes are applied, although most HTTP clients add headers rather than replacing them.

These headers will be added to any passed to krosstalkCall.

Constructors

Link copied to clipboard
fun RequestHeaders()

Sources

Link copied to clipboard