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