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

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

Class ProtocolException

After this exception was thrown, Server should send response to client with this statusCode and reasonPhrase, and Connection should be closed.

Methods

Method __construct

public function __construct ( int $statusCode , string $reasonPhrase , ?Throwable $previous )

Copyright 2022 the Swow contributors