Replies: 3 comments
|
Wondering if I should be using the http-body-utils crate, but not sure how that maps to |
|
The If you want to be able to test your service, without starting up a TCP server (which is what I do a lot, this works just fine), then you need to make your service generic over the request body. That way, it can accept both It's a good point, I've updated the guides revamp issue (#3411) to add a guide about testing your service. |
|
For anyone wanting the solution to this, I have given the example from |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi all,
I have a tower layer that I have configured to accept Hyper types.
I am now trying to test this, and it is proving difficult, since I cannot construct an
Incomingtype.Any pointers would be fantastic 🙏
All reactions