MCPcopy Create free account
hub / github.com/bajrangCoder/setu / default

Method default

src/entities/request.rs:149–159  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

147
148impl Default for RequestData {
149 fn default() -> Self {
150 Self {
151 id: Uuid::new_v4(),
152 name: String::from("New Request"),
153 url: String::new(),
154 method: HttpMethod::Get,
155 headers: vec![Header::new("Content-Type", "application/json")],
156 body: RequestBody::None,
157 is_sending: false,
158 }
159 }
160}
161
162/// RequestEntity - GPUI Entity wrapper

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected