graphql-engine-1.0.0: GraphQL API over Postgres
Safe HaskellSafe-Inferred
LanguageHaskell2010

Hasura.Server.Cors

Description

CORS (Cross Origin Resource Sharing) related configuration

Documentation

data Domains Source #

Constructors

Domains 

Fields

Instances

Instances details
FromJSON Domains Source # 
Instance details

Defined in Hasura.Server.Cors

ToJSON Domains Source # 
Instance details

Defined in Hasura.Server.Cors

Generic Domains Source # 
Instance details

Defined in Hasura.Server.Cors

Associated Types

type Rep Domains :: Type -> Type #

Methods

from :: Domains -> Rep Domains x #

to :: Rep Domains x -> Domains #

Show Domains Source # 
Instance details

Defined in Hasura.Server.Cors

Eq Domains Source # 
Instance details

Defined in Hasura.Server.Cors

Methods

(==) :: Domains -> Domains -> Bool #

(/=) :: Domains -> Domains -> Bool #

type Rep Domains Source # 
Instance details

Defined in Hasura.Server.Cors

data CorsPolicy Source #

Constructors

CorsPolicy 

Fields

Instances

Instances details
Show CorsPolicy Source # 
Instance details

Defined in Hasura.Server.Cors

Eq CorsPolicy Source # 
Instance details

Defined in Hasura.Server.Cors

parseOrigin :: Text -> Either String DomainParts Source #