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

This is automatic generated document for things in Swow\WebSocket\Status class

Class Status

Constants

public ABNORMAL_CLOSURE = 1006 public BAD_GATEWAY = 1014 public GOING_AWAY = 1001 public INTERNAL_ERROR = 1011 public INVALID_FRAME_PAYLOAD_DATA = 1007 public MESSAGE_TOO_BIG = 1009 public MISSING_EXTENSION = 1010 public NORMAL_CLOSURE = 1000 public NO_STATUS_RECEIVED = 1005 public POLICY_VIOLATION = 1008 public PROTOCOL_ERROR = 1002 public SERVICE_RESTART = 1012 public TLS_HANDSHAKE = 1015 public TRY_AGAIN_LATER = 1013 public UNSUPPORTED_DATA = 1003

Methods

Static method getDescriptionOf

public static function getDescriptionOf ( int $code ) : int

Copyright 2022 the Swow contributors