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
↓ 83 callers
Method
len
Get the number of entries
src/models/history.rs:80
↓ 75 callers
Method
is_empty
(&self)
src/ui/components/input/body_input.rs:281
↓ 21 callers
Method
on_mouse_up
(&mut self, _: &MouseUpEvent, _window: &mut Window, _: &mut Context<Self>)
src/ui/components/input/url_input.rs:182
↓ 18 callers
Method
left
(&mut self, _: &Left, _: &mut Window, cx: &mut Context<Self>)
src/ui/components/input/body_input.rs:586
↓ 16 callers
Method
is_empty
Check if history is empty
src/models/history.rs:85
↓ 16 callers
Method
left
Action handlers - 这些方法处理键盘动作
src/ui/components/input/url_input.rs:87
↓ 12 callers
Method
json_cursor_offset
(&self)
src/ui/components/input/body_input.rs:870
↓ 10 callers
Method
json_move_to
JSON input helper methods
src/ui/components/input/body_input.rs:865
↓ 9 callers
Method
json_select_to
(&mut self, offset: usize, cx: &mut Context<Self>)
src/ui/components/input/body_input.rs:878
↓ 8 callers
Method
add
Add a request to history
src/models/history.rs:54
↓ 8 callers
Method
form_key_cursor_offset
FormData key helper methods
src/ui/components/input/body_input.rs:1090
↓ 8 callers
Method
form_key_move_to
(&mut self, offset: usize, cx: &mut Context<Self>)
src/ui/components/input/body_input.rs:1098
↓ 8 callers
Method
form_value_cursor_offset
FormData value helper methods
src/ui/components/input/body_input.rs:1135
↓ 8 callers
Method
form_value_move_to
(&mut self, offset: usize, cx: &mut Context<Self>)
src/ui/components/input/body_input.rs:1143
↓ 8 callers
Method
get_form_data_as_string
(&self)
src/ui/components/input/body_input.rs:368
↓ 8 callers
Method
id
(&self)
src/ui/components/input/url_input.rs:449
↓ 8 callers
Method
move_to
Helper methods
src/ui/components/input/url_input.rs:193
↓ 8 callers
Method
move_to
Helper methods
src/ui/components/input/header_input.rs:204
↓ 7 callers
Method
get
(&self, url: &str)
src/http/client.rs:24
↓ 7 callers
Method
select_to
(&mut self, offset: usize, cx: &mut Context<Self>)
src/ui/components/input/url_input.rs:225
↓ 7 callers
Method
select_to
(&mut self, offset: usize, cx: &mut Context<Self>)
src/ui/components/input/header_input.rs:236
↓ 6 callers
Method
add_header
添加 header
src/models/request.rs:98
↓ 6 callers
Method
clear
(&mut self, cx: &mut Context<Self>)
src/ui/components/input/body_input.rs:393
↓ 6 callers
Method
cursor_offset
(&self)
src/ui/components/input/url_input.rs:198
↓ 6 callers
Method
cursor_offset
(&self)
src/ui/components/input/header_input.rs:209
↓ 6 callers
Function
format_response_body
Attempts to pretty-print JSON content. If the content is valid JSON, returns formatted JSON with indentation. If not valid JSON, returns the original
src/utils/formatter.rs:6
↓ 6 callers
Method
json_replace_text_in_range
( &mut self, range_utf16: Option<Range<usize>>, new_text: &str, _: &mut Window
src/ui/components/input/body_input.rs:984
↓ 6 callers
Method
left
Action handlers - 这些方法处理键盘动作
src/ui/components/input/header_input.rs:95
↓ 6 callers
Method
with_placeholder
(mut self, placeholder: impl Into<String>)
src/ui/components/common/dropdown.rs:43
↓ 5 callers
Method
clear
Clear all history
src/models/history.rs:75
↓ 5 callers
Method
form_key_select_to
(&mut self, offset: usize, cx: &mut Context<Self>)
src/ui/components/input/body_input.rs:1104
↓ 5 callers
Method
form_value_select_to
(&mut self, offset: usize, cx: &mut Context<Self>)
src/ui/components/input/body_input.rs:1149
↓ 5 callers
Method
get_content
(&self)
src/ui/components/display/response_viewer.rs:96
↓ 5 callers
Method
get_content
(&self)
src/ui/components/input/body_input.rs:305
↓ 5 callers
Method
json_range_from_utf16
(&self, range_utf16: &Range<usize>)
src/ui/components/input/body_input.rs:980
↓ 5 callers
Method
on_mouse_down
Mouse event handlers
src/ui/components/input/url_input.rs:167
↓ 5 callers
Method
range_from_utf16
(&self, range_utf16: &Range<usize>)
src/ui/components/input/url_input.rs:273
↓ 5 callers
Method
range_from_utf16
(&self, range_utf16: &Range<usize>)
src/ui/components/input/header_input.rs:284
↓ 5 callers
Method
set_content
(&mut self, content: impl Into<String>, cx: &mut Context<Self>)
src/ui/components/input/body_input.rs:313
↓ 4 callers
Method
get
Get a specific entry by index
src/models/history.rs:70
↓ 4 callers
Method
into_any_element
(self)
examples/element_into_element_example.rs:22
↓ 4 callers
Method
json_index_for_mouse_position
(&self, position: Point<Pixels>)
src/ui/components/input/body_input.rs:1008
↓ 4 callers
Method
json_line_start
(&self, offset: usize)
src/ui/components/input/body_input.rs:907
↓ 4 callers
Method
new
(label: impl Into<String>, tooltip_text: impl Into<String>)
examples/deferred_anchored_example.rs:21
↓ 4 callers
Method
on_mouse_move
(&mut self, event: &MouseMoveEvent, _: &mut Window, cx: &mut Context<Self>)
src/ui/components/input/url_input.rs:186
↓ 4 callers
Method
replace_text_in_range
( &mut self, range_utf16: Option<Range<usize>>, new_text: &str, _: &mut Window
src/ui/components/input/url_input.rs:333
↓ 4 callers
Method
replace_text_in_range
( &mut self, range_utf16: Option<Range<usize>>, new_text: &str, _: &mut Window
src/ui/components/input/header_input.rs:344
↓ 4 callers
Method
set_body
设置请求体
src/models/request.rs:103
↓ 4 callers
Method
set_type
(&mut self, body_type: BodyType, cx: &mut Context<Self>)
src/ui/components/input/body_input.rs:292
↓ 4 callers
Method
start_editing_key
(&mut self, index: usize, cx: &mut Context<Self>)
src/ui/components/input/body_input.rs:413
↓ 3 callers
Method
execute
执行 HTTP 请求(保留原有接口以兼容)
src/http/executor.rs:50
↓ 3 callers
Method
focus_handle
(&self, _cx: &App)
src/ui/components/input/body_input.rs:92
↓ 3 callers
Method
form_key_previous_boundary
(&self, offset: usize)
src/ui/components/input/body_input.rs:1119
↓ 3 callers
Method
form_value_previous_boundary
(&self, offset: usize)
src/ui/components/input/body_input.rs:1164
↓ 3 callers
Function
greet
因为实现了 Display,类型自动获得 ToString(.to_string())
examples/element_display_to_string_example.rs:14
↓ 3 callers
Method
index_for_mouse_position
(&self, position: Point<Pixels>)
src/ui/components/display/response_viewer.rs:185
↓ 3 callers
Method
index_for_mouse_position
(&self, position: Point<Pixels>)
src/ui/components/input/url_input.rs:206
↓ 3 callers
Method
index_for_mouse_position
(&self, position: Point<Pixels>)
src/ui/components/input/header_input.rs:217
↓ 3 callers
Method
json_line_end
(&self, offset: usize)
src/ui/components/input/body_input.rs:914
↓ 3 callers
Method
json_next_boundary
(&self, offset: usize)
src/ui/components/input/body_input.rs:900
↓ 3 callers
Method
json_offset_to_utf16
(&self, offset: usize)
src/ui/components/input/body_input.rs:961
↓ 3 callers
Method
json_previous_boundary
(&self, offset: usize)
src/ui/components/input/body_input.rs:892
↓ 3 callers
Method
json_range_to_utf16
(&self, range: &Range<usize>)
src/ui/components/input/body_input.rs:976
↓ 3 callers
Method
next_boundary
(&self, offset: usize)
src/ui/components/input/url_input.rs:285
↓ 3 callers
Method
next_boundary
(&self, offset: usize)
src/ui/components/input/header_input.rs:296
↓ 3 callers
Method
offset_to_utf16
(&self, offset: usize)
src/ui/components/input/url_input.rs:254
↓ 3 callers
Method
offset_to_utf16
(&self, offset: usize)
src/ui/components/input/header_input.rs:265
↓ 3 callers
Method
previous_boundary
(&self, offset: usize)
src/ui/components/input/url_input.rs:277
↓ 3 callers
Method
previous_boundary
(&self, offset: usize)
src/ui/components/input/header_input.rs:288
↓ 3 callers
Method
range_to_utf16
(&self, range: &Range<usize>)
src/ui/components/input/url_input.rs:269
↓ 3 callers
Method
range_to_utf16
(&self, range: &Range<usize>)
src/ui/components/input/header_input.rs:280
↓ 3 callers
Method
set_header_input_values
通过输入框设置header值
src/app/postman_app.rs:350
↓ 3 callers
Method
start_editing_value
(&mut self, index: usize, cx: &mut Context<Self>)
src/ui/components/input/body_input.rs:432
↓ 2 callers
Method
add_form_data_entry
(&mut self, cx: &mut Context<Self>)
src/ui/components/input/body_input.rs:337
↓ 2 callers
Method
add_header
添加header
src/app/postman_app.rs:281
↓ 2 callers
Method
focus_handle
(&self, _cx: &gpui::App)
src/ui/components/display/response_viewer.rs:46
↓ 2 callers
Method
focus_handle
(&self, _: &App)
src/ui/components/input/url_input.rs:633
↓ 2 callers
Method
focus_handle
(&self, _: &App)
src/ui/components/input/header_input.rs:644
↓ 2 callers
Method
form_key_estimate_index_for_position
(&self, position: Point<Pixels>)
src/ui/components/input/body_input.rs:1229
↓ 2 callers
Method
form_key_next_boundary
(&self, offset: usize)
src/ui/components/input/body_input.rs:1127
↓ 2 callers
Method
form_value_estimate_index_for_position
(&self, position: Point<Pixels>)
src/ui/components/input/body_input.rs:1298
↓ 2 callers
Method
form_value_next_boundary
(&self, offset: usize)
src/ui/components/input/body_input.rs:1172
↓ 2 callers
Method
get_current_type
(&self)
src/ui/components/input/body_input.rs:269
↓ 2 callers
Method
get_with_headers
( &self, url: &str, headers: Option<HashMap<String, String>>, )
src/http/client.rs:28
↓ 2 callers
Function
greet
接受任意能转为 String 的类型
examples/element_from_into_example.rs:37
↓ 2 callers
Method
id
(&self)
src/ui/components/display/response_viewer.rs:272
↓ 2 callers
Method
into_any
提供一个方便方法把自己装箱成 AnyElement
examples/element_into_element_example.rs:9
↓ 2 callers
Method
json_offset_for_line_down
(&self, offset: usize)
src/ui/components/input/body_input.rs:933
↓ 2 callers
Method
json_offset_for_line_up
(&self, offset: usize)
src/ui/components/input/body_input.rs:921
↓ 2 callers
Method
json_offset_from_utf16
(&self, offset: usize)
src/ui/components/input/body_input.rs:946
↓ 2 callers
Method
offset_from_utf16
(&self, offset: usize)
src/ui/components/input/url_input.rs:239
↓ 2 callers
Method
offset_from_utf16
(&self, offset: usize)
src/ui/components/input/header_input.rs:250
↓ 2 callers
Method
on_mouse_up
( &mut self, _event: &MouseUpEvent, _window: &mut Window, _cx: &mut Context<Se
src/ui/components/display/response_viewer.rs:150
↓ 2 callers
Method
render_selectable_content
( &self, _content: &str, cx: &mut Context<Self>, )
src/ui/components/display/response_viewer.rs:218
↓ 2 callers
Method
response_select_to
(&mut self, offset: usize, cx: &mut Context<Self>)
src/ui/components/display/response_viewer.rs:171
↓ 2 callers
Function
setup_url_input_key_bindings
导出KeyBinding设置函数,供主应用使用
src/ui/components/input/url_input.rs:678
↓ 1 callers
Method
all
获取所有支持的 HTTP 方法
src/models/request.rs:32
↓ 1 callers
Method
as_any
(&self)
examples/element_into_element_example.rs:42
↓ 1 callers
Method
backspace
Action handlers for keyboard shortcuts
src/ui/components/input/body_input.rs:504
↓ 1 callers
Method
body
(&self)
src/http/response.rs:24
next →
1–100 of 394, ranked by callers