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 void setup_response(
24 const std::span<malloy::http::method> methods
25 ) const;
26 };
27
28}
Definition: response.hpp:22
Definition: preflight_config.hpp:11
void setup_response(malloy::http::response<> &resp, const std::span< malloy::http::method > methods) const
Definition: preflight_config.cpp:5