(HttpReqConstraints ts, ReflectMethod method, SingI (Req ts), SingI (Res rs), HttpResConstraints rs) => HasRequest (ts :: [ReqContent Type]) (Verb method rs) Source # | |
Instance detailsDefined in Hreq.Core.Client.HasRequest |
SingI ts => SingI (ResHeaders ts :: ResContent Type) Source # | |
Instance detailsDefined in Hreq.Core.API.Response |
SingI a => SingI (Raw a :: ResContent Type) Source # | |
Instance detailsDefined in Hreq.Core.API.Response |
(SingI ctyp, SingI a) => SingI (ResBody ctyp a :: ResContent Type) Source # | |
Instance detailsDefined in Hreq.Core.API.Response |
(SingI a, SingI ctyp) => SingI (ResStream ctyp a :: ResContent Type) Source # | |
Instance detailsDefined in Hreq.Core.API.Response |
(SingI a, SingI n) => SingI (ResStatus a n :: ResContent Type) Source # | |
Instance detailsDefined in Hreq.Core.API.Response |
MonadError ClientError m => HasResponse ((ResStream :: a -> a -> ResContent a) ': rs :: [a -> a -> ResContent a]) m Source # | |
Instance detailsDefined in Hreq.Core.Client.HasResponse |
(MonadError ClientError m, SingI (Res (ResHeaders hs ': rs)), HttpResConstraints (ResHeaders hs ': rs)) => HasResponse (ResHeaders hs ': rs :: [ResContent Type]) m Source # | |
Instance detailsDefined in Hreq.Core.Client.HasResponse |
(MonadError ClientError m, KnownNat n, SingI (Res (r ': rs)), HttpResConstraints (r ': rs)) => HasResponse (ResStatus n ': (r ': rs) :: [ResContent Type]) m Source # | Expected status code much match received code in a response code list |
Instance detailsDefined in Hreq.Core.Client.HasResponse |
(MonadError ClientError m, KnownNat n) => HasResponse (ResStatus n ': ([] :: [ResContent Type]) :: [ResContent Type]) m Source # | Expected status code much match received code |
Instance detailsDefined in Hreq.Core.Client.HasResponse |
(MediaDecode ctyp a, MonadError ClientError m, SingI (Res (r ': rs)), HttpResConstraints (r ': rs)) => HasResponse (ResBody ctyp a ': (r ': rs) :: [ResContent Type]) m Source # | The following type instance is overly restrictive to avoid
overlapping type family instance error. |
Instance detailsDefined in Hreq.Core.Client.HasResponse |
(MediaDecode ctyp a, MonadError ClientError m) => HasResponse (ResBody ctyp a ': ([] :: [ResContent Type]) :: [ResContent Type]) m Source # | |
Instance detailsDefined in Hreq.Core.Client.HasResponse |
MonadError ClientError m => HasResponse (Raw a2 ': (r ': rs) :: [ResContent a1]) m Source # | |
Instance detailsDefined in Hreq.Core.Client.HasResponse |
MonadError ClientError m => HasResponse (Raw a2 ': ([] :: [ResContent a1]) :: [ResContent a1]) m Source # | |
Instance detailsDefined in Hreq.Core.Client.HasResponse |
type Sing Source # | |
Instance detailsDefined in Hreq.Core.API.Response |
type HttpOutput ((ResStream :: a -> a -> ResContent a) ': rs :: [a -> a -> ResContent a]) Source # | |
Instance detailsDefined in Hreq.Core.Client.HasResponse |
type HttpOutput (ResHeaders hs ': rs :: [ResContent Type]) Source # | |
Instance detailsDefined in Hreq.Core.Client.HasResponse |
type HttpOutput (ResStatus n ': (r ': rs) :: [ResContent Type]) Source # | |
Instance detailsDefined in Hreq.Core.Client.HasResponse |
type HttpOutput (ResStatus n ': ([] :: [ResContent Type]) :: [ResContent Type]) Source # | |
Instance detailsDefined in Hreq.Core.Client.HasResponse |
type HttpOutput (ResBody ctyp a ': (r ': rs) :: [ResContent Type]) Source # | |
Instance detailsDefined in Hreq.Core.Client.HasResponse |
type HttpOutput (ResBody ctyp a ': ([] :: [ResContent Type]) :: [ResContent Type]) Source # | |
Instance detailsDefined in Hreq.Core.Client.HasResponse |
type HttpOutput (Raw a2 ': (r ': rs) :: [ResContent a1]) Source # | |
Instance detailsDefined in Hreq.Core.Client.HasResponse |
type HttpOutput (Raw a2 ': ([] :: [ResContent a1]) :: [ResContent a1]) Source # | |
Instance detailsDefined in Hreq.Core.Client.HasResponse |