Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ All public functions in `TestServer` have been moved to `TestServer.HTTP`. The
HTTP server adapters in `TestServer.HTTPServer.*` have been moved to
`TestServer.HTTP.Server.*`. `add/2` has been renamed to `handle/2`, and `websocket_info/2` has been renamed to `websocket_send/2` and now takes options as second argument.

TestServer now has SSH support with `TestServer.SSH`.
TestServer now has SSH support with `TestServer.SSH` and TCP support with `TestServer.TCP`.

- Fixed bug where `:match` functions that raised errors always matched in `TestServer.HTTP.handle/2` and `TestServer.HTTP.websocket_handle/2`
- Fixed UTF-8 response body handling for `TestServer.HTTP.Server.Httpd`
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,15 @@ Features:
- HTTP/2
- WebSocket
- SSH
- TCP
- Built-in TLS with self-signed certificates
- Plug route matching

## Protocols

- [`TestServer.HTTP`](lib/test_server/http/README.md) - HTTP/1, HTTP/2, and WebSocket.
- [`TestServer.SSH`](lib/test_server/ssh/README.md) - SSH exec and shell.
- [`TestServer.TCP`](lib/test_server/tcp/README.md) - TCP socket endpoints.

<!-- MDOC !-->

Expand Down
Loading
Loading