@@ -21,16 +21,12 @@ pub suberror HttpProtocolError {
2121 HttpVersionNotSupported(String)
2222 NotImplemented
2323}
24- fn HttpProtocolError::output(Self, &Logger) -> Unit // from trait `Show`
25- fn HttpProtocolError::to_string(Self) -> String // from trait `Show`
2624impl Show for HttpProtocolError
2725
2826pub suberror URIParseError {
2927 InvalidFormat
3028 UnsupportedProtocol(String)
3129}
32- fn URIParseError::output(Self, &Logger) -> Unit // from trait `Show`
33- fn URIParseError::to_string(Self) -> String // from trait `Show`
3430impl Show for URIParseError
3531
3632// Types and methods
@@ -42,16 +38,8 @@ async fn Client::flush(Self) -> Unit
4238async fn Client::get(Self, String, extra_headers? : Map[String, String], body? : &@io.Data) -> Response
4339async fn Client::post(Self, String, &@io.Data, extra_headers? : Map[String, String]) -> Response
4440async fn Client::put(Self, String, &@io.Data, extra_headers? : Map[String, String]) -> Response
45- async fn Client::read(Self, FixedArray[Byte], offset? : Int, max_len? : Int) -> Int // from trait `@io.Reader`
46- async fn Client::read_all(Self) -> &@io.Data // from trait `@io.Reader`
47- async fn Client::read_exactly(Self, Int) -> Bytes // from trait `@io.Reader`
4841async fn Client::request(Self, RequestMethod, String, extra_headers? : Map[String, String]) -> Unit
4942async fn Client::skip_response_body(Self) -> Unit
50- async fn Client::write(Self, &@io.Data) -> Unit // from trait `@io.Writer`
51- async fn Client::write_once(Self, Bytes, offset~ : Int, len~ : Int) -> Int // from trait `@io.Writer`
52- async fn Client::write_reader(Self, &@io.Reader) -> Unit // from trait `@io.Writer`
53- #deprecated
54- async fn Client::write_string(Self, StringView, encoding~ : @io.Encoding) -> Unit // from trait `@io.Writer`
5543impl @io.Reader for Client
5644impl @io.Writer for Client
5745
@@ -78,11 +66,6 @@ pub(all) enum RequestMethod {
7866 Trace
7967 Patch
8068}
81- fn RequestMethod::equal(Self, Self) -> Bool // from trait `Eq`
82- #deprecated
83- fn RequestMethod::op_equal(Self, Self) -> Bool // from trait `Eq`
84- fn RequestMethod::output(Self, &Logger) -> Unit // from trait `Show`
85- fn RequestMethod::to_string(Self) -> String // from trait `Show`
8669impl Eq for RequestMethod
8770impl Show for RequestMethod
8871
@@ -97,17 +80,9 @@ fn ServerConnection::close(Self) -> Unit
9780async fn ServerConnection::end_response(Self) -> Unit
9881async fn ServerConnection::flush(Self) -> Unit
9982fn ServerConnection::new(@socket.Tcp, headers? : Map[String, String]) -> Self
100- async fn ServerConnection::read(Self, FixedArray[Byte], offset? : Int, max_len? : Int) -> Int // from trait `@io.Reader`
101- async fn ServerConnection::read_all(Self) -> &@io.Data // from trait `@io.Reader`
102- async fn ServerConnection::read_exactly(Self, Int) -> Bytes // from trait `@io.Reader`
10383async fn ServerConnection::read_request(Self) -> Request
10484async fn ServerConnection::send_response(Self, Int, String, extra_headers? : Map[String, String]) -> Unit
10585async fn ServerConnection::skip_request_body(Self) -> Unit
106- async fn ServerConnection::write(Self, &@io.Data) -> Unit // from trait `@io.Writer`
107- async fn ServerConnection::write_once(Self, Bytes, offset~ : Int, len~ : Int) -> Int // from trait `@io.Writer`
108- async fn ServerConnection::write_reader(Self, &@io.Reader) -> Unit // from trait `@io.Writer`
109- #deprecated
110- async fn ServerConnection::write_string(Self, StringView, encoding~ : @io.Encoding) -> Unit // from trait `@io.Writer`
11186impl @io.Reader for ServerConnection
11287impl @io.Writer for ServerConnection
11388
0 commit comments