Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
CORS (Cross Origin Resource Sharing) related configuration
Documentation
data CorsConfig Source #
Instances
FromJSON CorsConfig Source # | |
Defined in Hasura.Server.Cors parseJSON :: Value -> Parser CorsConfig Source # parseJSONList :: Value -> Parser [CorsConfig] Source # | |
ToJSON CorsConfig Source # | |
Defined in Hasura.Server.Cors toJSON :: CorsConfig -> Value Source # toEncoding :: CorsConfig -> Encoding Source # toJSONList :: [CorsConfig] -> Value Source # toEncodingList :: [CorsConfig] -> Encoding Source # | |
Show CorsConfig Source # | |
Defined in Hasura.Server.Cors showsPrec :: Int -> CorsConfig -> ShowS # show :: CorsConfig -> String # showList :: [CorsConfig] -> ShowS # | |
Eq CorsConfig Source # | |
Defined in Hasura.Server.Cors (==) :: CorsConfig -> CorsConfig -> Bool # (/=) :: CorsConfig -> CorsConfig -> Bool # | |
FromEnv CorsConfig Source # | |
Defined in Hasura.Server.Init.Env |
isCorsDisabled :: CorsConfig -> Bool Source #
data CorsPolicy Source #
Instances
Show CorsPolicy Source # | |
Defined in Hasura.Server.Cors showsPrec :: Int -> CorsPolicy -> ShowS # show :: CorsPolicy -> String # showList :: [CorsPolicy] -> ShowS # | |
Eq CorsPolicy Source # | |
Defined in Hasura.Server.Cors (==) :: CorsPolicy -> CorsPolicy -> Bool # (/=) :: CorsPolicy -> CorsPolicy -> Bool # |