Malloy
Loading...
Searching...
No Matches
preflight_config.hpp
1#pragma once
2
3#include "../../core/http/response.hpp"
4
5#include <span>
6
7namespace malloy::server::http
8{
9
11 {
12 std::string origin = "http://127.0.0.1:8080";
13
22 // ToDo: Add template for response body
23 void
26 std::span<malloy::http::method> methods
27 ) const;
28 };
29
30}
Definition: response.hpp:22
Definition: preflight_config.hpp:11
void setup_response(malloy::http::response<> &resp, std::span< malloy::http::method > methods) const
Definition: preflight_config.cpp:6