tmp-proc-example-0.5.1.2: Shows how to test a simple service using tmp-proc
Copyright(c) 2020-2021 Tim Emiola
LicenseBSD3
MaintainerTim Emiola <adetokunbo@users.noreply.github.com>
Safe HaskellNone
LanguageHaskell2010

TmpProc.Example1.Client

Description

Defines client combinators that access the demo service

Synopsis

Client combinators

fetch :: ContactID -> ClientM Contact Source #

Fetch a contact via the API.

create :: Contact -> ClientM ContactID Source #

Create a contact via the API.