diff --git a/README.md b/README.md index dadfa5b..ee3a716 100644 --- a/README.md +++ b/README.md @@ -51,6 +51,8 @@ The project is essentially a big wrapper for the [NodeJS HTTP Library](https://n - :white_square_button: Validate if requests are secure (using https, which uses the TLS protocol) - :white_check_mark: ~~Header manipulations~~ - :white_square_button: Support for other HTTP request methods besides GET & POST +- :white_square_button: Add request forwarding +- :white_square_button: Figure out how to support GraphQL --- diff --git a/lib/server.ts b/lib/server.ts index e891c8f..b0d76da 100644 --- a/lib/server.ts +++ b/lib/server.ts @@ -1,5 +1,7 @@ import * as http from 'http'; import ConsumeResponse from './wrapper/response'; +import ConsumeRequest from './wrapper/request'; +import security from './security/securityMiddleware'; import { ConsumeServer, Controller, @@ -11,8 +13,6 @@ import { StatusCodes, ConsumeRoute } from './@types'; -import ConsumeRequest from './wrapper/request'; -import security from './security/securityMiddleware'; import { isMiddleware } from './util/function'; import { parseUrlTokens } from './data/inbound';