Package klyn.net
Contains 20 type(s).
Types
Classes

- HttpClient - Modern HTTP client.
- HttpRequest - Immutable HTTP request description.
- HttpResponse - HTTP response value object inspired by Python `requests.
- InetAddress - Internet host descriptor.
- InetSocketAddress - Internet socket endpoint (host + port).
- ServerSocket - TCP server socket.
- Socket - TCP client socket.
- SocketAddress - Base class for socket endpoints, for socket endpoints.
- SocketInputStream - Binary input stream wrapper for `Socket`.
- SocketOutputStream - Binary output stream wrapper for `Socket`.
- SocketReader - Text reader over one socket connection.
- SocketWriter - Text writer over one socket connection.
- TlsOptions - Immutable TLS options for HTTP clients.
- URL - Parsed URL value.

Exceptions

- BindException - Raised when binding a server socket fails.
- ConnectException - Raised when connecting a client socket fails.
- MalformedURLException - Raised when a URL cannot be parsed.
- ProtocolException - Raised when an HTTP or URL protocol rule is violated.
- SocketException - Base network exception for socket, TCP, TLS and HTTP transport failures.
- UnknownHostException - Raised when a host name cannot be resolved.