RpcMethod

Enum class for the different HTTP methods that can be used in a RPC request

Entries

Link copied to clipboard

HTTP HEAD method. If used, no body will be returned. Useful when using count. The parameters will be sent as query parameters.

Link copied to clipboard

HTTP POST method. Default method.

Link copied to clipboard

HTTP GET method. If used, the function will be called in read-only mode. The parameters will be sent as query parameters.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
val httpMethod: HttpMethod

The HTTP method

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun valueOf(value: String): RpcMethod

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.