Hi,
is there currently a way of setting parameters via a SetParameter request on the client?
If there is currently no way of doing this I am happy to contribute with an implementation. I guess it would follow the same pattern as the other requests e.g. something along the lines of
func (c *Client) SetParameter(body []byte) (*base.Response, error) {
cres := make(chan clientRes)
req := &base.Request{
Method: base.SetParameter,
URL: c.baseURL,
Header: base.Header{
"Content-Type": base.HeaderValue{"text/parameters"},
},
Body: body,
}
select {
case c.chSetParameter <- setParameterReq{
req: req,
res: cres,
}:
res := <-cres
return res.res, res.err
case <-c.done:
return nil, c.closeError
}
}
Hi,
is there currently a way of setting parameters via a
SetParameterrequest on the client?If there is currently no way of doing this I am happy to contribute with an implementation. I guess it would follow the same pattern as the other requests e.g. something along the lines of