Gotham CORS Middleware
This library is aimed to provide CORS functionality to Gotham.rs servers.
Currently this is a very simple implementation with limited customisability.
Requires rust 1.26 or later.
Usage:
extern crate gotham;
extern crate gotham_cors_middleware;
use new_pipeline;
use CORSMiddleware;
use single_pipeline;
use *;
use Router;
Roadmap:
- Add integration tests
- Add builder that would allow header customisation
- Add documentation
- See how next version of Gotham requires changes to middeware structure