getMethod

open fun getMethod(): String

Returns the HTTP method of the request. Can be "GET" | "POST" | "HEAD".

Return

The HTTP method of the request. Can be "GET" | "POST" | "HEAD".