| Home | Libraries | People | FAQ | More

##### websocket::close_reason::close_reason

Default constructor.

    close_reason();
      » more...

Construct from a code.

    close_reason(
        std::uint16_t code_);
      » more...

Construct from a reason string. code is close_code::normal.

    close_reason(
        string_view s);
      » more...

Construct from a reason string literal. code is close_code::normal.

    close_reason(
        char const* s);
      » more...

Construct from a close code and reason string.

    close_reason(
        close_code code_,
        string_view s);
      » more...