Enum soketto::handshake::client::ServerResponse
source · pub enum ServerResponse {
Accepted {
protocol: Option<String>,
},
Redirect {
status_code: u16,
location: String,
},
Rejected {
status_code: u16,
},
}
Expand description
Handshake response received from the server.
Variants§
Accepted
The server has accepted our request.
Redirect
Fields
The server is redirecting us to some other location.
Rejected
The server rejected our request.