Please make Response.Unmarshal to accept io.Reader
it is better for performance if the xml.decoder gets a large http repose, it can read it directly from the socket rather then converting the whole response body with io.ReadAll(resp.body) to memory and then passing it to the xml.decoder
this is how I need to do it now
body := []byte(`xml-rpc code`)
err = xmlrpc.Response(body).Unmarshal(&resData)
this is how it will be used after
body := strings.NewReader(`xml-rpc-code`)
err = xmlrpc.Response(body).Unmarshal(&resData)