connectrpc/connect-swift

Is it possible to see the underlying request?

oliverfoggin opened this issue · 2 comments

I'm getting some errors setting up this SDK for the first time with a new back end too.

But, I'm not sure where exactly the errors are coming from or why.

Is it possible to see the full underlying request (i.e. path, method, body, host, headers, etc...) so that I can try to debug what I'm doing wrong?

Thanks

I changed from the NIOHttpClient to a URLSessionHTTPClient and it's showing up in Proxyman now 😄

Glad you got this working. I'd generally suggest using URLSessionHTTPClient over NIO unless you require the gRPC protocol (lighter binary size and simpler to use).