MCPcopy
hub / github.com/fatedier/frp / NewRequestExpect

Function NewRequestExpect

test/e2e/framework/request.go:48–56  ·  view source on GitHub ↗
(f *Framework)

Source from the content-addressed store, hash-verified

46}
47
48func NewRequestExpect(f *Framework) *RequestExpect {
49 return &RequestExpect{
50 req: NewRequest(),
51 f: f,
52 expectResp: []byte(consts.TestString),
53 expectError: false,
54 explain: make([]any, 0),
55 }
56}
57
58func (e *RequestExpect) Request(req *request.Request) *RequestExpect {
59 e.req = req

Callers 15

examples.goFile · 0.92
server.goFile · 0.92
client.goFile · 0.92
heartbeat.goFile · 0.92
chaos.goFile · 0.92
monitor.goFile · 0.92
group.goFile · 0.92
real_ip.goFile · 0.92
bandwidth_limit.goFile · 0.92
server.goFile · 0.92
http.goFile · 0.92
basic.goFile · 0.92

Calls 1

NewRequestFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…