Enum soketto::handshake::client::ServerResponse [−][src]
pub enum ServerResponse {
Accepted {
protocol: Option<String>,
},
Redirect {
status_code: u16,
location: String,
},
Rejected {
status_code: u16,
},
}Handshake response received from the server.
Variants
The server has accepted our request.
The server is redirecting us to some other location.
Show fields
The server rejected our request.
Show fields
Fields of Rejected
status_code: u16HTTP response status code.