Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bajrangCoder/setu
/ with_method
Method
with_method
src/entities/request.rs:180–183 ·
view source on GitHub ↗
(mut self, method: HttpMethod)
Source
from the content-addressed store, hash-verified
178
}
179
180
pub fn with_method(mut self, method: HttpMethod) -> Self {
181
self.data.method = method;
182
self
183
}
184
185
pub fn set_url(&mut self, url: String, cx: &mut Context<Self>) {
186
self.data.url = url;
Callers
1
duplicate_request
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected