Beast Logo

PrevUpHomeNext

websocket::close_reason::close_reason

Default constructor.

close_reason();

Construct from a code.

close_reason(
    close_code::value code_);

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

template<
    std::size_t N>
close_reason(
    char const ((&reason_)[N]);

Construct from a code and reason.

template<
    std::size_t N>
close_reason(
    close_code::value code_,
    char const ((&reason_)[N]);

PrevUpHomeNext