okapi-0.2.0.0: A bidirectional HTTP description language
Safe HaskellNone
LanguageGHC2024

Okapi.Mode.Link

Documentation

data URI Source #

Constructors

URI 

Fields

Instances

Instances details
HasField "full" URI Text Source # 
Instance details

Defined in Okapi.Mode.Link

Methods

getField :: URI -> Text #

data Link shape where Source #

Constructors

Link :: forall path query method headers body result. (path -> query -> URI) -> Link (Shape method path query headers body result) 

Instances

class GLink (epF :: Type -> Type) (lnF :: Type -> Type) Source #

Minimal complete definition

gLink

Instances

links :: (Generic (server Forest), Generic (server Link), GLink (Rep (server Forest)) (Rep (server Link))) => server Forest -> server Link Source #