rocket_cors/examples
Yong Wen Chua c86bb44529
Create `CorsOptions` (#57)
* Create `CorsOptions`

- `Cors` will be, in the future, an "optimised" or "compiled" version of
`CorsOptions`
- For now, `Cors` simply clones `CorsOptions` and `Deref`s to
`CorsOptions`.

* Update examples

* Remove usage of `Self` struct constructors
2018-12-19 01:29:26 +01:00
..
fairing.rs Create `CorsOptions` (#57) 2018-12-19 01:29:26 +01:00
guard.rs Create `CorsOptions` (#57) 2018-12-19 01:29:26 +01:00
json.rs Create `CorsOptions` (#57) 2018-12-19 01:29:26 +01:00
manual.rs Create `CorsOptions` (#57) 2018-12-19 01:29:26 +01:00
mix.rs Create `CorsOptions` (#57) 2018-12-19 01:29:26 +01:00