Poco::OSP::Web::WebServerDispatcher

struct PathCORS

Library: OSP/Web
Package: Web
Header: Poco/OSP/Web/WebServerDispatcher.h

Constructors

PathCORS inline

PathCORS();

Variables

allowCredentials

bool allowCredentials;

allow credentials with CORS requests

allowHeaders

std::string allowHeaders;

allowed headers in CORS requests

allowMethods

std::string allowMethods;

CORS allowed methods

allowOrigin

std::string allowOrigin;

CORS allowed origin

enable

bool enable;

enable or disable CORS