hokay

Crates.iohokay
lib.rshokay
version0.2.2
sourcesrc
created_at2022-04-22 15:24:15.04481
updated_at2022-07-21 02:48:50.759925
descriptionA bare-bones HTTP server that always returns with 204 No Content.
homepage
repositoryhttps://github.com/olix0r/hokay
max_upload_size
id572264
size29,332
Oliver Gould (olix0r)

documentation

README

hokay

A bare-bones HTTP/1 server that always returns 204 No content.

This program aims to take minimal dependencies and is expected to be updated infrequently.

Usage

:; hokay
:; curl -v localhost:8080
*   Trying ::1:8080...
* connect to ::1 port 8080 failed: Connection refused
*   Trying 127.0.0.1:8080...
* Connected to localhost (127.0.0.1) port 8080 (#0)
> GET / HTTP/1.1
> Host: localhost:8080
> User-Agent: curl/7.74.0
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 204 No Content
< server: hokay
< date: Fri, 22 Apr 2022 15:18:10 GMT
<
* Connection #0 to host localhost left intact

License

This program is distributed under the MIT license.

Commit count: 13

cargo fmt