Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: use base node http types #723

Closed
wants to merge 13 commits into from

Commits on Feb 19, 2022

  1. Configuration menu
    Copy the full SHA
    1540dac View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2022

  1. refactor: use base node http types

    BREAKING CHANGE: `RequestHandler` => `RequestMiddleware`. Middleware now
    is expressed in terms of node core http.* types, which express req/res
    are compatible with. Orienting to base http.* types allows better typing
    accross all node servers, as eventually each implementation has these
    values in their servers. That is to say, express, koa, fastify, next,
    etc all use http.IncomingMessage/http.ServerResponse under the hood,
    thus the new middleware types are compatible with everyone.
    cdaringe committed Feb 27, 2022
    Configuration menu
    Copy the full SHA
    f4595a4 View commit details
    Browse the repository at this point in the history
  2. refactor: use base node http types

    BREAKING CHANGE: `RequestHandler` => `RequestMiddleware`. Middleware now
    is expressed in terms of node core http.* types, which express req/res
    are compatible with. Orienting to base http.* types allows better typing
    accross all node servers, as eventually each implementation has these
    values in their servers. That is to say, express, koa, fastify, next,
    etc all use http.IncomingMessage/http.ServerResponse under the hood,
    thus the new middleware types are compatible with everyone.
    cdaringe committed Feb 27, 2022
    Configuration menu
    Copy the full SHA
    a6ae743 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'refactor/types' of github.com:cdaringe/http-proxy-middl…

    …eware into refactor/types
    cdaringe committed Feb 27, 2022
    Configuration menu
    Copy the full SHA
    14d5719 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    54205f0 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    83dade2 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    0b30c5d View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2022

  1. Configuration menu
    Copy the full SHA
    dee41a7 View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2022

  1. fix: close server

    cdaringe committed Mar 12, 2022
    Configuration menu
    Copy the full SHA
    1ddcd6b View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2022

  1. Configuration menu
    Copy the full SHA
    878986a View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1 from cdaringe/refactor/types-v3-de-express-ify

    refactor: decouple from express
    cdaringe authored Mar 13, 2022
    Configuration menu
    Copy the full SHA
    c6d6547 View commit details
    Browse the repository at this point in the history
  3. docs: fix comment node assoc

    cdaringe committed Mar 13, 2022
    Configuration menu
    Copy the full SHA
    5460cb3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4a8bb87 View commit details
    Browse the repository at this point in the history