Closed igorrendulic closed 2 months ago
All of the methods which take a *http.Request have an equivalent method that takes an io.Reader in the protocol package. In addition if you want to parse the JSON yourself that's also supported using the Parse() method on each JSON structure.
Silly me. You're right. Sorry about that. It's clear in the documentation too.
Description
The problem is if you wan't to use another protocol to communicate with the server, method that require http.Request such as FinishRegistration makes it tedious to use the library.
The issue is that if you include additional data in the same request (which is my current approach), the library cannot be used according to the documentation.
Use Case
Documentation