aboutsummaryrefslogtreecommitdiff
path: root/example/nim.cfg
diff options
context:
space:
mode:
authorOskari Timperi <oskari.timperi@iki.fi>2018-04-19 21:50:51 +0100
committerOskari Timperi <oskari.timperi@iki.fi>2018-04-19 21:53:21 +0100
commitcd061d43cbc7201649bdfd166870a44d37a0588f (patch)
tree57d8a3e505654089bad7233e640d4ac0237c62cc /example/nim.cfg
parent155d1c06db73fc10d88ab39bb6d580494ad8a3f8 (diff)
downloadnimtwirp-cd061d43cbc7201649bdfd166870a44d37a0588f.tar.gz
nimtwirp-cd061d43cbc7201649bdfd166870a44d37a0588f.zip
A bunch of changes
- 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
Diffstat (limited to 'example/nim.cfg')
0 files changed, 0 insertions, 0 deletions