Module
Payload.Server.Internal.Url
- Package
- purescript-payload
- Repository
- hoodunit/purescript-payload
#MatchUrl Source
class MatchUrl (urlParts :: UrlList) params from | urlParts -> from where
Members
match :: UrlListProxy urlParts -> Proxy (Record params) -> Record from -> List String -> Either String (Record params)
Instances
(TypeEquals (Record from) (Record params)) => MatchUrl UrlNil params from
(IsSymbol key, Cons key valType rest params, Lacks key rest, DecodeSegments valType) => MatchUrl (UrlCons (Multi key) UrlNil) params rest
(IsSymbol key, MatchUrl rest params from', Cons key valType params' params, Cons key valType from from', Lacks key from, DecodeParam valType) => MatchUrl (UrlCons (Key key) rest) params from
(IsSymbol lit, MatchUrl rest params from) => MatchUrl (UrlCons (Lit lit) rest) params from
- Modules
- Payload.
Client - Payload.
Client. ClientApi - Payload.
Client. DecodeResponse - Payload.
Client. EncodeBody - Payload.
Client. EncodeParam - Payload.
Client. Internal. EncodeUri - Payload.
Client. Internal. Query - Payload.
Client. Internal. Url - Payload.
Client. Options - Payload.
Client. QueryParams - Payload.
Client. Queryable - Payload.
Client. Response - Payload.
ContentType - Payload.
Debug - Payload.
Headers - Payload.
Internal. QueryParsing - Payload.
Internal. Route - Payload.
Internal. UrlParsing - Payload.
Internal. Utils - Payload.
ResponseTypes - Payload.
Server - Payload.
Server. Cookies - Payload.
Server. DecodeBody - Payload.
Server. Guards - Payload.
Server. Handleable - Payload.
Server. Handlers - Payload.
Server. Internal. GuardParsing - Payload.
Server. Internal. MimeTypes - Payload.
Server. Internal. OmitEmpty - Payload.
Server. Internal. Query - Payload.
Server. Internal. Querystring - Payload.
Server. Internal. Request - Payload.
Server. Internal. ServerResponse - Payload.
Server. Internal. Trie - Payload.
Server. Internal. Url - Payload.
Server. Internal. UrlString - Payload.
Server. Params - Payload.
Server. Path - Payload.
Server. QueryParams - Payload.
Server. Response - Payload.
Server. Routable - Payload.
Server. Status - Payload.
Spec - Payload.
TypeErrors