Type Alias tungstenite::handshake::server::ErrorResponse
source · pub type ErrorResponse = Response<Option<String>>;
Expand description
Server error response type.
Aliased Type§
struct ErrorResponse {
head: Parts,
body: Option<String>,
}
Fields§
§head: Parts
§body: Option<String>