Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Documentation
data Versioned v name Source #
Instances
RenderableSymbol a => RenderableSymbol (Versioned v a :: Type) Source # | |
Defined in Wire.API.Federation.Endpoint renderSymbol :: Text Source # | |
(IsNamed name, SingI v) => IsNamed (Versioned v name :: Type) Source # | |
Defined in Wire.API.Federation.API | |
type FedPath (Versioned v name :: Type) Source # | |
Defined in Wire.API.Federation.Endpoint |
type UnnamedFedEndpointWithMods (mods :: [Type]) path input output = ApplyMods mods (path :> (OriginDomainHeader :> (ReqBody '[JSON] input :> Post '[JSON] output))) Source #
type FedEndpointWithMods (mods :: [Type]) name input output = Named name (UnnamedFedEndpointWithMods mods (FedPath name) input output) Source #
type FedEndpoint name input output = FedEndpointWithMods '[] name input output Source #
type NotificationFedEndpointWithMods (mods :: [Type]) name path input = Named name (UnnamedFedEndpointWithMods mods path input EmptyResponse) Source #
type NotificationFedEndpoint tag = MkNotificationFedEndpoint (NotificationMods tag) (NotificationPath tag) (NotificationVersionTag tag) (Payload tag) Source #
type family MkNotificationFedEndpoint (m :: [Type]) (s :: Symbol) (v :: Maybe k) (p :: Type) Source #
Instances
type MkNotificationFedEndpoint m s ('Nothing :: Maybe k) p Source # | |
Defined in Wire.API.Federation.Endpoint type MkNotificationFedEndpoint m s ('Nothing :: Maybe k) p = NotificationFedEndpointWithMods m s s p | |
type MkNotificationFedEndpoint m s ('Just v :: Maybe k) p Source # | |
Defined in Wire.API.Federation.Endpoint type MkNotificationFedEndpoint m s ('Just v :: Maybe k) p = NotificationFedEndpointWithMods m (Versioned v s) s p |
type StreamingFedEndpoint name input output = Named name (name :> (OriginDomainHeader :> (ReqBody '[JSON] input :> StreamPost NoFraming OctetStream output))) Source #