Module
Yoga.Fetch.Om.ClientFunction
- Package
- purescript-yoga-fetch-om
- Repository
- rowtype-yoga/purescript-yoga-fetch-om
#BuildClientFn Source
class BuildClientFn :: RowList Type -> RowList Type -> Type -> Type -> Row Type -> Row Type -> Type -> Type -> Row Type -> Type -> Type -> Constraintclass BuildClientFn pathQueryRL headersRL bodyFlag body pathQuery headers arg ctx errorRow result fn | pathQueryRL -> pathQuery, headersRL -> headers, pathQueryRL headersRL bodyFlag body arg ctx errorRow result -> fn where
Members
buildClientFn :: Proxy pathQueryRL -> Proxy headersRL -> Proxy bodyFlag -> (arg -> Record pathQuery) -> (Record pathQuery -> Record headers -> body -> Om ctx errorRow result) -> fn
Instances
BuildClientFn Nil Nil IsUnit Unit () () arg ctx errorRow result (Om ctx errorRow result)BuildClientFn Nil Nil IsNotUnit body () () arg ctx errorRow result (body -> Om ctx errorRow result)BuildClientFn Nil (Cons n t tl) IsUnit Unit () h arg ctx errorRow result (Record h -> Om ctx errorRow result)BuildClientFn Nil (Cons n t tl) IsNotUnit body () h arg ctx errorRow result (Record h -> body -> Om ctx errorRow result)BuildClientFn (Cons n t tl) Nil IsUnit Unit pq () arg ctx errorRow result (arg -> Om ctx errorRow result)BuildClientFn (Cons n t tl) Nil IsNotUnit body pq () arg ctx errorRow result (arg -> body -> Om ctx errorRow result)BuildClientFn (Cons n t tl) (Cons hn ht htl) IsUnit Unit pq h arg ctx errorRow result (arg -> Record h -> Om ctx errorRow result)BuildClientFn (Cons n t tl) (Cons hn ht htl) IsNotUnit body pq h arg ctx errorRow result (arg -> Record h -> body -> Om ctx errorRow result)
#CheckBodyIsUnit Source
class CheckBodyIsUnit body flag | body -> flagInstances
#IsUnit Source
data IsUnitInstances
CheckBodyIsUnit Unit IsUnitBuildClientFn Nil Nil IsUnit Unit () () arg ctx errorRow result (Om ctx errorRow result)BuildClientFn Nil (Cons n t tl) IsUnit Unit () h arg ctx errorRow result (Record h -> Om ctx errorRow result)BuildClientFn (Cons n t tl) Nil IsUnit Unit pq () arg ctx errorRow result (arg -> Om ctx errorRow result)BuildClientFn (Cons n t tl) (Cons hn ht htl) IsUnit Unit pq h arg ctx errorRow result (arg -> Record h -> Om ctx errorRow result)
#IsNotUnit Source
data IsNotUnitInstances
CheckBodyIsUnit body IsNotUnitBuildClientFn Nil Nil IsNotUnit body () () arg ctx errorRow result (body -> Om ctx errorRow result)BuildClientFn Nil (Cons n t tl) IsNotUnit body () h arg ctx errorRow result (Record h -> body -> Om ctx errorRow result)BuildClientFn (Cons n t tl) Nil IsNotUnit body pq () arg ctx errorRow result (arg -> body -> Om ctx errorRow result)BuildClientFn (Cons n t tl) (Cons hn ht htl) IsNotUnit body pq h arg ctx errorRow result (arg -> Record h -> body -> Om ctx errorRow result)
- Modules
- Yoga.
Fetch. Om - Yoga.
Fetch. Om. BuildUrl - Yoga.
Fetch. Om. ClientFunction - Yoga.
Fetch. Om. ExtractParams - Yoga.
Fetch. Om. MakeRequest - Yoga.
Fetch. Om. ParseResponse - Yoga.
Fetch. Om. ReadOptional - Yoga.
Fetch. Om. Simple - Yoga.
Fetch. Om. SplitParams - Yoga.
Fetch. Om. SplitResponses - Yoga.
Fetch. Om. StreamDecode - Yoga.
Fetch. Om. Variant