Expand description

Crate which provides allowed hosts layer for tower based service where all non allowed hosts request are blocked

Modules§

  • module for error
  • module for layer, service and future

Structs§

  • Allowed hosts layer to check if provided host is valid or not
  • Struct which holds value of host along with its port if present which was parsed and allowed by allowed host layer. This struct is added as a extension to request after successfully resolving host and verifying host is valid host which can be used in server if needed for further uses