aboutsummaryrefslogtreecommitdiffstats
path: root/src/server.rs
diff options
context:
space:
mode:
authorTeddy Wing2020-06-23 23:51:03 +0200
committerTeddy Wing2020-06-23 23:51:03 +0200
commit23f23e7ee0540c1078db038c3b3cad93b312200a (patch)
treee31fd3eb23ec5b8ef5922158b609b5968282d8cd /src/server.rs
parentd005c2017cfc5150ab6890d610cc097780e495ce (diff)
downloadfastcgi-conduit-23f23e7ee0540c1078db038c3b3cad93b312200a.tar.bz2
run(): Convert `fastcgi::Request` to `http::Request`
Build a new `http::Request` from the `fastcgi::Request` and pass it into the closure. Can't move `req`, so needed to change the `from` converter to take a reference. Update the example code to append the `http::Request` to a file for debugging and inspection.
Diffstat (limited to 'src/server.rs')
0 files changed, 0 insertions, 0 deletions