MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / hasFileBodySourcePayload

Function hasFileBodySourcePayload

internal/logging/request_logger.go:1124–1126  ·  view source on GitHub ↗
(source *FileBodySource)

Source from the content-addressed store, hash-verified

1122}
1123
1124func hasFileBodySourcePayload(source *FileBodySource) bool {
1125 return source != nil && source.HasPayload()
1126}
1127
1128func inferDownstreamTransport(headers map[string][]string, websocketTimeline []byte, websocketTimelineSource *FileBodySource) string {
1129 if hasSectionPayload(websocketTimeline) || hasFileBodySourcePayload(websocketTimelineSource) {

Callers 5

writeNonStreamingLogMethod · 0.85
inferDownstreamTransportFunction · 0.85
inferUpstreamTransportFunction · 0.85

Calls 1

HasPayloadMethod · 0.80

Tested by

no test coverage detected