Access the original request (it's not originalRequest
..) #533
Closed
Description
Hi!
I want to serve an API with Oak that requires a Request and returns a Response. I need to wrap this in an Oak request.
I found that the types for Oak request/response's are also called Request
and Response
. This is confusing and might better be named OakRequest
and OakResponse
, but this is sematics.
I found the originalRequest
field on the Request
class of oak but this request is still not the basic Request
passed by the Deno HTTP server. How do I access that request?
gr,
Tom