This is automatic generated document for things in Swow\Psr7\Message\UpgradeType class

Class UpgradeType

Constants

public UPGRADE_TYPE_H2C = 2 public UPGRADE_TYPE_NONE = 0 public UPGRADE_TYPE_UNKNOWN = 2147483648 public UPGRADE_TYPE_WEBSOCKET = 1

Methods

Static method fromString

public static function fromString ( string $upgrade ) : int

Copyright 2022 the Swow contributors