HttplugFactory::createRequest( $method,  $uri,  $headers = [],  $body = null,  $protocolVersion = '1.1' )

In this article

Source

public function createRequest($method, $uri, array $headers = [], $body = null, $protocolVersion = '1.1'): RequestInterface
{
    return new Request($method, $uri, $headers, $body, $protocolVersion);
}

User Contributed Notes

You must log in before being able to contribute a note or feedback.