Http
eff Http
SourceThe effect used to interact with the HTTP protocol.
Operations
def get(url: String, headers: Map[String, List[String]]): Response
SourceDefinitions
def handle(f: a -> b \ ef): a -> b \ (ef & (~Http)) + Net + IO
SourceHandles the Http
effect of the given function f
.
In other words, re-interprets the Http
effect using the Net
and IO
effects.