Swoole\Http\Request->getMethod

Declaration

<?php
Swoole\Http\Request->getMethod()

Parameters

Return

Description

Get the method of HTTP request.

Example

<?php

$request->getMethod();