cwinters8 / gomap

Go module for interfacing with JMAP servers
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

deprecate `url` arg in `Client.httpRequest` #5

Closed cwinters8 closed 1 year ago

cwinters8 commented 1 year ago

The url argument in the Client.httpRequest method is redundant. Remove the arg and use c.Session.APIURL instead.

cwinters8 commented 1 year ago

Client.httpRequest is now Client.HttpRequest, but the url parameter should still be deprecated.

cwinters8 commented 1 year ago

I think url arg could be useful in cases of using the client to make http requests that are not to the jmap APIURL, so not fixing for now.