1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-27 09:39:08 -05:00
denoland-deno/ext/http
Yusuke Tanaka 9f26ca4509
feat(ext/http): Make http server parameters configurable (#26785)
This commit makes http server parameters configurable on the extension
initialization via two callbacks users can provide.

The main motivation behind this change is to allow `deno_http` users to
tune the HTTP/2 server to suit their needs, although Deno CLI users will
not benefit from it as no JavaScript interface is exposed to set these
parameters currently.

It is up to users whether to provide hook functions. If not provided,
the default configuration from hyper crate will be used.
2024-11-18 17:46:24 -08:00
..
benches chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
00_serve.ts feat: OpenTelemetry Tracing API and Exporting (#26710) 2024-11-13 10:38:46 +00:00
01_http.js refactor(ext): align error messages (#25496) 2024-09-18 18:19:45 -07:00
02_websocket.ts fix(ext/websocket): change default idleTimeout to 30s (#23985) 2024-05-26 10:46:05 +05:30
Cargo.toml chore: forward v2.0.6 release commit to main (#26804) 2024-11-10 13:12:18 +05:30
compressible.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
fly_accept_encoding.rs perf(http): avoid clone getting request method and url (#26250) 2024-10-14 23:25:47 -04:00
http_next.rs feat(ext/http): Make http server parameters configurable (#26785) 2024-11-18 17:46:24 -08:00
lib.rs feat(ext/http): Make http server parameters configurable (#26785) 2024-11-18 17:46:24 -08:00
network_buffered_stream.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
reader_stream.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
README.md chore: add README to ext/http/ (#11958) 2021-09-08 20:48:28 +02:00
request_body.rs refactor(ext/http): use concrete error types (#26377) 2024-10-18 15:57:12 -07:00
request_properties.rs perf(http): avoid clone getting request method and url (#26250) 2024-10-14 23:25:47 -04:00
response_body.rs perf(ext/http): Reduce size of ResponseBytesInner (#24840) 2024-08-02 00:30:26 +00:00
service.rs feat(ext/http): abort event when request is cancelled (#26781) 2024-11-08 18:46:11 +05:30
websocket_upgrade.rs refactor(ext/http): use concrete error types (#26377) 2024-10-18 15:57:12 -07:00

deno_http

This crate implements server-side HTTP based on primitives from the Fetch API.