http-message
http-message copied to clipboard
UrlInterface->withQueryParameter()
In comparation with other http (client) implementations I really like PSR-7/17/18 has method for everything, instead of building request from a huge array. One method I am missing is for single query parameter. Currently it's possible to configure whole request through interface. Just query parameters have to be passed around in an array before building an query string. I think it would be nice quality of life improvement to have method just for that.