getMethod

abstract fun getMethod(): HttpMethod

获取请求的 HTTP 方法。