Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/847850277/postman-gpui
/ functions
Functions
394 in github.com/847850277/postman-gpui
⨍
Functions
394
◇
Types & classes
53
↓ 1 callers
Method
cancel_editing
(&mut self, cx: &mut Context<Self>)
src/ui/components/input/body_input.rs:495
↓ 1 callers
Method
entries
Get all history entries
src/models/history.rs:65
↓ 1 callers
Method
finish_editing
(&mut self, cx: &mut Context<Self>)
src/ui/components/input/body_input.rs:451
↓ 1 callers
Method
finish_key_editing_only
(&mut self, cx: &mut Context<Self>)
src/ui/components/input/body_input.rs:471
↓ 1 callers
Method
finish_value_editing_only
(&mut self, cx: &mut Context<Self>)
src/ui/components/input/body_input.rs:483
↓ 1 callers
Method
focus_handle
(&self, _: &gpui::App)
src/ui/components/common/dropdown.rs:254
↓ 1 callers
Method
formatted_time
Get formatted timestamp
src/models/history.rs:33
↓ 1 callers
Function
get_method_color
Get color for HTTP method
src/ui/components/display/history_list.rs:8
↓ 1 callers
Method
get_url
(&self)
src/ui/components/input/url_input.rs:70
↓ 1 callers
Method
headers_as_map
转换 headers 为 HashMap 格式(用于 HTTP 客户端)
src/models/request.rs:108
↓ 1 callers
Method
into_element
(self)
examples/element_into_element_example.rs:78
↓ 1 callers
Method
new
()
src/http/client.rs:18
↓ 1 callers
Method
new
(id: impl Into<String>, label: impl Into<String>, options: Vec<String>)
examples/advanced_dropdown_example.rs:17
↓ 1 callers
Method
on_item_clicked
(&mut self, index: usize, cx: &mut Context<Self>)
src/ui/components/display/history_list.rs:65
↓ 1 callers
Method
on_key_down
(&mut self, event: &KeyDownEvent, _: &mut Window, cx: &mut Context<Self>)
src/ui/components/input/body_input.rs:684
↓ 1 callers
Method
on_mouse_down
( &mut self, event: &MouseDownEvent, _window: &mut Window, cx: &mut Context<Se
src/ui/components/display/response_viewer.rs:131
↓ 1 callers
Method
on_mouse_down
Mouse event handlers
src/ui/components/input/header_input.rs:178
↓ 1 callers
Method
on_mouse_move
( &mut self, event: &MouseMoveEvent, _window: &mut Window, cx: &mut Context<Se
src/ui/components/display/response_viewer.rs:159
↓ 1 callers
Method
on_mouse_move
(&mut self, event: &MouseMoveEvent, _: &mut Window, cx: &mut Context<Self>)
src/ui/components/input/header_input.rs:197
↓ 1 callers
Method
on_mouse_up
(&mut self, _: &MouseUpEvent, _window: &mut Window, _: &mut Context<Self>)
src/ui/components/input/header_input.rs:193
↓ 1 callers
Method
post
( &self, url: &str, body: &str, headers: Option<HashMap<String, String>>,
src/http/client.rs:46
↓ 1 callers
Method
remove_form_data_entry
(&mut self, index: usize, cx: &mut Context<Self>)
src/ui/components/input/body_input.rs:346
↓ 1 callers
Method
remove_header
删除header
src/app/postman_app.rs:365
↓ 1 callers
Method
render_body_editor
(&self, cx: &mut Context<Self>)
src/app/postman_app.rs:872
↓ 1 callers
Method
render_button
(&self, cx: &mut Context<Self>)
examples/deferred_anchored_example.rs:40
↓ 1 callers
Method
render_dropdown_button
(&self, cx: &mut Context<Self>)
src/ui/components/common/dropdown.rs:116
↓ 1 callers
Method
render_dropdown_button
(&self, cx: &mut Context<Self>)
examples/advanced_dropdown_example.rs:50
↓ 1 callers
Method
render_dropdown_menu
(&self, cx: &mut Context<Self>)
src/ui/components/common/dropdown.rs:171
↓ 1 callers
Method
render_dropdown_menu
(&self, cx: &mut Context<Self>)
examples/advanced_dropdown_example.rs:96
↓ 1 callers
Method
render_headers_editor
(&self, cx: &mut Context<Self>)
src/app/postman_app.rs:602
↓ 1 callers
Method
render_tooltip
(&self, cx: &mut Context<Self>)
examples/deferred_anchored_example.rs:68
↓ 1 callers
Method
response_move_to
(&mut self, offset: usize, cx: &mut Context<Self>)
src/ui/components/display/response_viewer.rs:145
↓ 1 callers
Method
select_option
( &mut self, option: String, _: &ClickEvent, _window: &mut Window, cx:
src/ui/components/common/dropdown.rs:90
↓ 1 callers
Method
select_option
( &mut self, option: String, _: &ClickEvent, _window: &mut Window, cx:
examples/advanced_dropdown_example.rs:33
↓ 1 callers
Method
selected_method
(&self, cx: &mut Context<Self>)
src/ui/components/display/method_selector.rs:46
↓ 1 callers
Method
selected_value
(&self)
src/ui/components/common/dropdown.rs:53
↓ 1 callers
Method
send_request
发送请求
src/app/postman_app.rs:185
↓ 1 callers
Method
set_entries
Update the history entries
src/ui/components/display/history_list.rs:46
↓ 1 callers
Method
set_error
设置错误状态
src/ui/components/display/response_viewer.rs:78
↓ 1 callers
Method
set_form_data_entries
(&mut self, entries: Vec<FormDataEntry>, cx: &mut Context<Self>)
src/ui/components/input/body_input.rs:380
↓ 1 callers
Method
set_loading
设置为加载状态
src/ui/components/display/response_viewer.rs:65
↓ 1 callers
Method
set_selected
(&mut self, value: impl Into<String>, cx: &mut Context<Self>)
src/ui/components/common/dropdown.rs:57
↓ 1 callers
Method
set_selected_method
(&mut self, method: HttpMethod, cx: &mut Context<Self>)
src/ui/components/display/method_selector.rs:54
↓ 1 callers
Method
set_success
设置成功响应
src/ui/components/display/response_viewer.rs:71
↓ 1 callers
Method
set_url
(&mut self, url: impl Into<String>, cx: &mut Context<Self>)
src/ui/components/input/url_input.rs:74
↓ 1 callers
Function
setup_body_input_key_bindings
()
src/ui/components/input/body_input.rs:2190
↓ 1 callers
Function
setup_header_input_key_bindings
导出KeyBinding设置函数,供主应用使用
src/ui/components/input/header_input.rs:689
↓ 1 callers
Function
setup_response_viewer_key_bindings
()
src/ui/components/display/response_viewer.rs:12
↓ 1 callers
Method
toggle_form_data_entry
(&mut self, index: usize, cx: &mut Context<Self>)
src/ui/components/input/body_input.rs:360
↓ 1 callers
Method
toggle_header
Toggle header enabled state
src/app/postman_app.rs:404
↓ 1 callers
Method
with_options
(mut self, options: Vec<String>)
src/ui/components/common/dropdown.rs:35
↓ 1 callers
Method
with_selected
(mut self, selected: impl Into<String>)
src/ui/components/common/dropdown.rs:48
Method
add_collection
(&mut self, collection_name: String)
src/models/workspace.rs:16
Method
add_request
(&mut self, request: Request)
src/models/collection.rs:17
Method
add_request
(&mut self, request_name: String)
src/models/workspace.rs:20
Function
assert_send
()
src/errors/mod.rs:106
Function
assert_sync
()
src/errors/mod.rs:107
Method
backspace
(&mut self, _: &Backspace, window: &mut Window, cx: &mut Context<Self>)
src/ui/components/input/url_input.rs:124
Method
backspace
(&mut self, _: &Backspace, window: &mut Window, cx: &mut Context<Self>)
src/ui/components/input/header_input.rs:132
Method
bounds_for_range
( &mut self, range_utf16: Range<usize>, bounds: Bounds<Pixels>, _window: &mut
src/ui/components/input/body_input.rs:193
Method
bounds_for_range
( &mut self, range_utf16: Range<usize>, bounds: Bounds<Pixels>, _window: &mut
src/ui/components/input/url_input.rs:385
Method
bounds_for_range
( &mut self, range_utf16: Range<usize>, bounds: Bounds<Pixels>, _window: &mut
src/ui/components/input/header_input.rs:396
Method
calculate_selection_quads
( content: &str, shaped_lines: &[ShapedLine], selected_range: &Range<usize>, b
src/ui/components/input/body_input.rs:1537
Method
character_index_for_point
( &mut self, point: Point<Pixels>, _window: &mut Window, _cx: &mut Context<Sel
src/ui/components/input/body_input.rs:213
Method
character_index_for_point
( &mut self, point: Point<Pixels>, _window: &mut Window, _cx: &mut Context<Sel
src/ui/components/input/url_input.rs:406
Method
character_index_for_point
( &mut self, point: Point<Pixels>, _window: &mut Window, _cx: &mut Context<Sel
src/ui/components/input/header_input.rs:417
Method
checkbox_bg_color
Helper function to get checkbox background color
src/app/postman_app.rs:508
Method
checkbox_hover_bg_color
Helper function to get checkbox hover background color
src/app/postman_app.rs:517
Method
clear
清空响应
src/ui/components/display/response_viewer.rs:85
Method
clear
Clear all entries
src/ui/components/display/history_list.rs:59
Method
clear
(&mut self, cx: &mut Context<Self>)
src/ui/components/input/header_input.rs:86
Method
close_dropdown
(&mut self, _: &ClickEvent, _window: &mut Window, cx: &mut Context<Self>)
examples/advanced_dropdown_example.rs:45
Method
copy
(&mut self, _: &Copy, _window: &mut Window, cx: &mut Context<Self>)
src/ui/components/display/response_viewer.rs:104
Method
copy
(&mut self, _: &Copy, _: &mut Window, cx: &mut Context<Self>)
src/ui/components/input/url_input.rs:149
Method
copy
(&mut self, _: &Copy, _: &mut Window, cx: &mut Context<Self>)
src/ui/components/input/header_input.rs:160
Method
cut
(&mut self, _: &Cut, window: &mut Window, cx: &mut Context<Self>)
src/ui/components/input/url_input.rs:157
Method
cut
(&mut self, _: &Cut, window: &mut Window, cx: &mut Context<Self>)
src/ui/components/input/header_input.rs:168
Method
default
()
src/http/executor.rs:184
Method
default
()
src/http/client.rs:12
Method
default
()
src/models/request.rs:119
Method
default
()
src/models/history.rs:91
Method
delete
(&mut self, _: &Delete, window: &mut Window, cx: &mut Context<Self>)
src/ui/components/input/body_input.rs:540
Method
delete
(&mut self, _: &Delete, window: &mut Window, cx: &mut Context<Self>)
src/ui/components/input/url_input.rs:131
Method
delete
(&mut self, _: &Delete, window: &mut Window, cx: &mut Context<Self>)
src/ui/components/input/header_input.rs:139
Method
detect_body_type
检测 body 类型
src/app/postman_app.rs:553
Method
display_name
Get a display name for the history entry
src/models/history.rs:28
Method
do_GET
处理GET请求
test_server.py:12
Method
do_OPTIONS
处理OPTIONS请求(CORS预检)
test_server.py:79
Method
do_POST
处理POST请求
test_server.py:30
Method
downcast_ref
向下转换为具体类型的引用(如果可能)
examples/element_into_element_example.rs:60
Method
end
(&mut self, _: &End, _: &mut Window, cx: &mut Context<Self>)
src/ui/components/input/body_input.rs:676
Method
end
(&mut self, _: &End, _: &mut Window, cx: &mut Context<Self>)
src/ui/components/input/url_input.rs:120
Method
end
(&mut self, _: &End, _: &mut Window, cx: &mut Context<Self>)
src/ui/components/input/header_input.rs:128
Method
enter
(&mut self, _: &Enter, _: &mut Window, cx: &mut Context<Self>)
src/ui/components/input/body_input.rs:545
Method
error
(message: String)
src/http/executor.rs:19
Method
escape
(&mut self, _: &Escape, _: &mut Window, cx: &mut Context<Self>)
src/ui/components/input/body_input.rs:551
Method
execute_request
执行 HTTP 请求(接受统一的 Request 模型)
src/http/executor.rs:40
Method
find_line_for_offset
(content: &str, offset: usize)
src/ui/components/input/body_input.rs:1520
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
src/errors/mod.rs:27
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
src/models/request.rs:46
← previous
next →
101–200 of 394, ranked by callers