Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bajrangCoder/setu
/ functions
Functions
609 in github.com/bajrangCoder/setu
⨍
Functions
609
◇
Types & classes
130
↓ 556 callers
Method
child
(mut self, tab: PanelTab)
src/components/panel_tab.rs:90
↓ 108 callers
Method
is_empty
(&self)
src/entities/request.rs:114
↓ 83 callers
Method
on_click
( mut self, callback: impl Fn(&gpui::ClickEvent, &mut Window, &mut App) + 'static, )
src/components/tab_bar.rs:162
↓ 67 callers
Method
id
(&self)
src/entities/collections.rs:85
↓ 55 callers
Method
len
(&self)
src/entities/history.rs:291
↓ 37 callers
Method
text
(key: impl Into<String>, value: impl Into<String>)
src/entities/request.rs:80
↓ 34 callers
Method
new
(cx: &mut Context<Self>)
src/views/main_view.rs:126
↓ 24 callers
Method
filter
(mut self, filter: HistoryFilter)
src/components/history_panel.rs:59
↓ 19 callers
Function
path_label
(path: &[String])
src/importers/postman.rs:1020
↓ 18 callers
Method
set_method
(&mut self, method: HttpMethod, cx: &mut Context<Self>)
src/views/main_view.rs:1897
↓ 16 callers
Method
go_to_tab
(&mut self, index: usize, cx: &mut Context<Self>)
src/views/main_view.rs:1775
↓ 16 callers
Function
parse_curl
Parse a `curl` command string into a [`ParsedCurl`]. Supports the most common flags: `-X/--request`, `-H/--header`, `-d/--data/--data-raw/--data-bina
src/utils/curl_parser.rs:26
↓ 13 callers
Method
clear
(&mut self, cx: &mut Context<Self>)
src/entities/history.rs:206
↓ 12 callers
Method
save_to_file
(&self)
src/entities/collections.rs:395
↓ 10 callers
Method
as_str
(&self)
src/entities/request.rs:21
↓ 10 callers
Method
label
(&self)
src/components/protocol_selector.rs:17
↓ 10 callers
Method
new
(request: Entity<RequestEntity>, cx: &mut Context<Self>)
src/components/header_editor.rs:38
↓ 9 callers
Method
active
(mut self)
src/components/tab_bar.rs:31
↓ 9 callers
Method
import
(&self, path: &Path, contents: &str)
src/importers/postman.rs:39
↓ 8 callers
Method
as_str
(&self)
src/components/auth_editor.rs:25
↓ 8 callers
Method
headers
(&self)
src/entities/request.rs:252
↓ 8 callers
Method
switch_to_request_tab
( &mut self, tab: crate::views::request_view::RequestTab, cx: &mut Context<Self>,
src/views/main_view.rs:1908
↓ 7 callers
Method
body
(&self)
src/entities/request.rs:256
↓ 7 callers
Method
new
(cx: &mut Context<Self>)
src/components/form_data_editor.rs:41
↓ 7 callers
Method
new
( request: Entity<RequestEntity>, initial_body_type: BodyType, cx: &mut Context<Self>,
src/views/request_view.rs:56
↓ 7 callers
Method
title
(&self)
src/views/main_view.rs:72
↓ 6 callers
Method
save_to_file
(&self)
src/entities/history.rs:162
↓ 6 callers
Method
set_tab
(&mut self, tab: RequestTab, cx: &mut Context<Self>)
src/views/request_view.rs:312
↓ 5 callers
Method
clamp_to_duration
(&self, position: Duration)
src/components/audio_player.rs:307
↓ 5 callers
Method
content_category
Detect content category from content-type header
src/entities/response.rs:372
↓ 5 callers
Method
display_name
(&self)
src/entities/history.rs:37
↓ 5 callers
Method
is_empty
(&self)
src/entities/collections.rs:682
↓ 5 callers
Method
method
(&self)
src/entities/request.rs:248
↓ 5 callers
Function
method_color
Get HTTP method color
src/theme/gpui_theme.rs:217
↓ 5 callers
Method
new
(cx: &mut Context<Self>)
src/components/multipart_form_data_editor.rs:45
↓ 5 callers
Method
new
(output: &'a mut Vec<u8>)
src/components/auth_editor.rs:151
↓ 5 callers
Function
response_with
(content_type: Option<&str>, body_bytes: Vec<u8>)
src/entities/response.rs:538
↓ 5 callers
Method
switch_tab
Switch to a tab by index
src/views/main_view.rs:749
↓ 5 callers
Function
warn_on_unsupported_fields
( warnings: &mut Vec<ImportWarning>, path: &[String], condition: bool, message: impl Into<Stri
src/importers/postman.rs:1009
↓ 4 callers
Method
cancel_request
(&mut self, cx: &mut Context<Self>)
src/views/main_view.rs:1655
↓ 4 callers
Method
folder_mut
(&mut self)
src/entities/collections.rs:106
↓ 4 callers
Function
insert_node
( nodes: &mut Vec<CollectionNode>, parent_folder_id: Option<Uuid>, node: CollectionNode, )
src/entities/collections.rs:803
↓ 4 callers
Method
new
(cx: &mut Context<Self>)
src/components/params_editor.rs:43
↓ 4 callers
Method
seek_to
(&mut self, target: Duration, cx: &mut Context<Self>)
src/components/audio_player.rs:259
↓ 4 callers
Method
set_body
(&mut self, body: RequestBody, cx: &mut Context<Self>)
src/entities/request.rs:197
↓ 4 callers
Method
set_url
(&mut self, url: String, cx: &mut Context<Self>)
src/entities/request.rs:185
↓ 4 callers
Function
split_once
(s: &str, sep: char)
src/utils/curl_parser.rs:204
↓ 4 callers
Method
switch_to_response_tab
( &mut self, tab: crate::views::response_view::ResponseTab, cx: &mut Context<Self>,
src/views/main_view.rs:1920
↓ 3 callers
Method
active_tab
(&self)
src/views/main_view.rs:697
↓ 3 callers
Method
add_entry
( &mut self, request: RequestData, response: Option<ResponseData>, cx: &mut Co
src/entities/history.rs:168
↓ 3 callers
Method
apply_volume
(&self)
src/components/audio_player.rs:240
↓ 3 callers
Function
auth_attributes_to_map
(attributes: Vec<PostmanAuthAttribute>)
src/importers/postman.rs:733
↓ 3 callers
Method
cancel
(&mut self)
src/http/client.rs:24
↓ 3 callers
Method
close_tab
Close a tab
src/views/main_view.rs:767
↓ 3 callers
Function
deserialize_store
(contents: &str)
src/entities/collections.rs:714
↓ 3 callers
Function
find_node
(nodes: &[CollectionNode], node_id: Uuid)
src/entities/collections.rs:752
↓ 3 callers
Method
folder
(&self)
src/entities/collections.rs:99
↓ 3 callers
Method
formatted_body
Get formatted body if JSON, otherwise raw
src/entities/response.rs:411
↓ 3 callers
Method
import_collection_from_file
(&mut self, window: &mut Window, cx: &mut Context<Self>)
src/views/main_view.rs:1343
↓ 3 callers
Function
infer_text_body
( raw: String, headers: &[Header], language: Option<&str>, source_name: Option<&str>, )
src/importers/postman.rs:876
↓ 3 callers
Function
insert_auth_header
( headers: &mut Vec<Header>, key: &str, value: String, path: &[String], warnings: &mut Vec
src/importers/postman.rs:805
↓ 3 callers
Method
is_empty
(&self)
src/entities/history.rs:286
↓ 3 callers
Method
is_sending
(&self)
src/entities/request.rs:260
↓ 3 callers
Function
move_node_between_collections
( collections: &mut Vec<Collection>, source_collection_id: Uuid, node_id: Uuid, target_collect
src/entities/collections.rs:837
↓ 3 callers
Method
new
(response: Entity<ResponseEntity>, cx: &mut Context<Self>)
src/views/response_view.rs:63
↓ 3 callers
Method
new_tab
Add a new tab
src/views/main_view.rs:718
↓ 3 callers
Method
raw_body
(&mut self)
src/entities/response.rs:432
↓ 3 callers
Function
remove_node
(nodes: &mut Vec<CollectionNode>, node_id: Uuid)
src/entities/collections.rs:821
↓ 3 callers
Function
resolve_auth
( auth: PostmanAuth, path: &[String], warnings: &mut Vec<ImportWarning>, )
src/importers/postman.rs:643
↓ 3 callers
Function
sample_entry
(name: &str, url: &str, method: HttpMethod)
src/entities/history.rs:334
↓ 3 callers
Method
send_request
Send the current request
src/views/main_view.rs:1495
↓ 3 callers
Method
set_error
(&mut self, error: String, cx: &mut Context<Self>)
src/entities/response.rs:497
↓ 3 callers
Method
set_headers
(&mut self, headers: Vec<Header>, cx: &mut Context<Self>)
src/entities/request.rs:223
↓ 3 callers
Method
set_tab
(&mut self, tab: ResponseTab, cx: &mut Context<Self>)
src/views/response_view.rs:195
↓ 3 callers
Method
show_save_to_collection_dialog
(&mut self, window: &mut Window, cx: &mut Context<Self>)
src/views/main_view.rs:1160
↓ 3 callers
Method
toggle_request_response_layout
(&mut self, cx: &mut Context<Self>)
src/views/main_view.rs:1676
↓ 3 callers
Method
toggle_sidebar
(&mut self, cx: &mut Context<Self>)
src/views/main_view.rs:1671
↓ 3 callers
Method
with_headers
(mut self, headers: Vec<Header>)
src/entities/request.rs:229
↓ 3 callers
Method
with_initial_body_content
(mut self, content: Option<String>)
src/views/request_view.rs:86
↓ 3 callers
Method
with_initial_form_data
(mut self, data: Option<HashMap<String, String>>)
src/views/request_view.rs:91
↓ 3 callers
Method
with_initial_multipart_data
(mut self, data: Option<Vec<MultipartField>>)
src/views/request_view.rs:96
↓ 2 callers
Method
add_header
Add a new empty header row
src/components/header_editor.rs:108
↓ 2 callers
Method
body_hash
Get the body hash for efficient change detection
src/entities/response.rs:335
↓ 2 callers
Method
cancel_in_flight_for_tab
(&mut self, index: usize)
src/views/main_view.rs:701
↓ 2 callers
Method
close
(&mut self, cx: &mut Context<Self>)
src/views/command_palette.rs:295
↓ 2 callers
Method
close_all_tabs
(&mut self, cx: &mut Context<Self>)
src/views/main_view.rs:1790
↓ 2 callers
Method
close_current_other_tabs
(&mut self, cx: &mut Context<Self>)
src/views/main_view.rs:1799
↓ 2 callers
Method
close_current_tab
(&mut self, cx: &mut Context<Self>)
src/views/main_view.rs:1786
↓ 2 callers
Method
close_other_tabs
Close all tabs except the one at the given index
src/views/main_view.rs:1476
↓ 2 callers
Method
compact_storage
Drop redundant raw bytes for text-like responses and recompute cached metadata.
src/entities/response.rs:340
↓ 2 callers
Method
contains_node
(&self, node_id: Uuid)
src/entities/collections.rs:140
↓ 2 callers
Method
content_type
(&self)
src/components/body_type_selector.rs:39
↓ 2 callers
Function
default_commands
()
src/views/command_palette.rs:77
↓ 2 callers
Method
destination_entries
(&self)
src/entities/collections.rs:640
↓ 2 callers
Method
duplicate_request
(&mut self, window: &mut Window, cx: &mut Context<Self>)
src/views/main_view.rs:1803
↓ 2 callers
Method
effective_volume
(&self)
src/components/audio_player.rs:96
↓ 2 callers
Method
ensure_body_editor
Initialize the body editor with Window access
src/views/request_view.rs:107
↓ 2 callers
Method
ensure_body_text
(&mut self)
src/entities/response.rs:376
↓ 2 callers
Method
ensure_form_data_editor
(&mut self, window: &mut Window, cx: &mut Context<Self>)
src/views/request_view.rs:206
↓ 2 callers
Method
ensure_input_state
(&mut self, window: &mut Window, cx: &mut Context<Self>)
src/views/command_palette.rs:258
next →
1–100 of 609, ranked by callers