method

open fun method(@NonNull method: HttpMethod): HttpRequest.Builder

HTTP defines a set of request methods to indicate the desired action to be performed for a given resource. Specify desired method using this parameter.