Skip to main content Link Menu Expand (external link) Document Search Copy Copied

This is automatic generated document for things in Swow\Http\Http class

Class Http

Constants

public DEFAULT_PROTOCOL_VERSION = "1.1"

Methods

Static method packRequest

public static function packRequest ( string $method , \Stringable|string $uri , array $headers , \Stringable|string $body , string $protocolVersion ) : string

Static method packResponse

public static function packResponse ( int $statusCode , string $reasonPhrase , array $headers , \Stringable|string $body , string $protocolVersion ) : string

Copyright 2022 the Swow contributors