summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authortjpcc <tjp@ctrl-c.club>2023-05-01 08:38:54 -0600
committertjpcc <tjp@ctrl-c.club>2023-05-01 08:38:54 -0600
commita5d8aeb0bb53420a6dc87dcdc72494fa3f44224f (patch)
treeba60dbb50c1b7f94d59863e511fb389b6eba6bac /examples
parenta97480d593dfc9ec1121d65b1697b53750f0d979 (diff)
make spartan.Client.RoundTrip match the API of other clients.
- Request.Meta is already used as an *io.LimitedReader in spartan servers, so by following this convention the RoundTrip method doesn't need anything more than the *Request. - Make a new public method for setting the body on a spartan request.
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions