Skip to content

Proposal: Fetch Server API #206

Description

@jasnell

Proposal: https://proposal-fetch-server.jasnell.me/

Purpose:

This specification defines a server-side API that:

  • Uses standard Request and [Response (https://fetch.spec.whatwg.org/#response) without modification.
  • Introduces a ServerContext for connection metadata, server capabilities, and lifecycle — the things that belong to the processing environment, not the HTTP message.
  • Unifies HTTP/1.1, HTTP/2, and HTTP/3 behind one programming model.
  • Handles both request/response exchanges and tunnel protocols (extended CONNECT).
  • Defines primitives for the Capsule Protocol and HTTP Datagrams.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions