|  | Home | Libraries | People | FAQ | More | 
Description of the close reason.
        Defined in header <boost/beast/websocket/rfc6455.hpp>
      
struct close_reason
| Name | Description | 
|---|---|
| Default constructor. Construct from a code. Construct from a reason string. code is close_code::normal. Construct from a reason string literal. code is close_code::normal. Construct from a close code and reason string. | |
| Returns true if a code was specified. | 
This object stores the close code (if any) and the optional utf-8 encoded implementation defined reason string.
        Convenience header <boost/beast/websocket.hpp>