Method

sealed class Method

An HTTP request method, as defined in the RFC 7231.

Inheritors

Types

Link copied to clipboard
Link copied to clipboard
class Custom(val name: String) : Method

A custom method.

Link copied to clipboard
Link copied to clipboard
object GET : Method
Link copied to clipboard
object HEAD : Method
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
object POST : Method
Link copied to clipboard
object PUT : Method

The PUT method](https://www.rfc-editor.org/rfc/rfc7231#section-4.3.4).

Link copied to clipboard

Properties

Link copied to clipboard

The method name, e.g. "GET", "POST", etc.