We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9bdde79 commit 794f76fCopy full SHA for 794f76f
1 file changed
src/HTTP.sol
@@ -41,6 +41,10 @@ library HTTP {
41
return builder.requests[builder.requests.length - 1];
42
}
43
44
+ function instance(HTTP.Builder storage builder) internal view returns (HTTP.Request storage) {
45
+ return builder.requests[builder.requests.length - 1];
46
+ }
47
+
48
function withUrl(HTTP.Request storage req, string memory url) internal returns (HTTP.Request storage) {
49
req.url = url;
50
return req;
0 commit comments