|
Malloy
|
Public Member Functions | |
| void | setup_response (malloy::http::response<> &resp, const std::span< malloy::http::method > methods) const |
Public Attributes | |
| std::string | origin = "http://127.0.0.1:8080" |
| void preflight_config::setup_response | ( | malloy::http::response<> & | resp, |
| const std::span< malloy::http::method > | methods | ||
| ) | const |
Setup a response.
this must exceed the lifetime of the passed parameters.| resp | The response to setup. |
| methods | List of method strings supported. |