aboutsummaryrefslogtreecommitdiff
path: root/example
AgeCommit message (Collapse)Author
2018-04-21Move Haberdasher example under examples dirOskari Timperi
2018-04-21Try to make server side as async as you can getOskari Timperi
2018-04-19A bunch of changesOskari Timperi
- use parseopt2 in nimtwirp_build - define the prefix when running nimtwirp_build (defaults to `/twirp/`) - add a TwirpResponse type - replace concept with a type having callbacks for each rpc method (a la streams.nim) - check that a request is a POST and that it has a correct Content-Type - generate only a proc for handling the service, let the user handle responding to let them customize e.g. headers
2018-04-14Initial commitOskari Timperi