class Net::HTTPSwitchProtocol - Documentation for Ruby 4.0
Description: class Net::HTTPSwitchProtocol: tt> responses (status code 101). The <tt>Switching Protocol<tt> response indicates that the server has received a request to switch protocols, and has
Keywords: ruby,class,Net::HTTPSwitchProtocol

🔍

No recent searches

# class Net::HTTPSwitchProtocol

Response class for `Switching Protocol` responses (status code 101).

The <tt>Switching Protocol<tt> response indicates that the server has received a request to switch protocols, and has agreed to do so.

This class also includes (indirectly) module `Net::HTTPHeader`, which gives access to its methods for getting headers.

References:

- Mozilla.

- RFC 9110.

- Wikipedia.