MCPcopy
hub / github.com/gofiber/fiber / WriteString

Method WriteString

res_interface_gen.go:156–156  ·  view source on GitHub ↗

WriteString appends s to response body.

(s string)

Source from the content-addressed store, hash-verified

154 Writef(f string, a ...any) (int, error)
155 // WriteString appends s to response body.
156 WriteString(s string) (int, error)
157 // Drop closes the underlying connection without sending any response headers or body.
158 // This can be useful for silently terminating client connections, such as in DDoS mitigation
159 // or when blocking access to sensitive endpoints.

Callers 15

RouteMethod · 0.65
Test_Hook_OnNameFunction · 0.65
Test_Hook_OnGroupFunction · 0.65
Test_Hook_OnGroupNameFunction · 0.65
Test_Hook_OnPreShutdownFunction · 0.65
Test_Hook_OnListenFunction · 0.65
FullURLMethod · 0.65
buildRouteURLFunction · 0.65
Test_App_OrderFunction · 0.65
TestRemoveRouteFunction · 0.65
StringMethod · 0.65

Implementers 1

Calls

no outgoing calls

Tested by 15

Test_Hook_OnNameFunction · 0.52
Test_Hook_OnGroupFunction · 0.52
Test_Hook_OnGroupNameFunction · 0.52
Test_Hook_OnPreShutdownFunction · 0.52
Test_Hook_OnListenFunction · 0.52
Test_App_OrderFunction · 0.52
TestRemoveRouteFunction · 0.52