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

Method SendString

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

SendString sets the HTTP response body for string types. This means no type assertion, recommended for faster performance

(body string)

Source from the content-addressed store, hash-verified

133 // SendString sets the HTTP response body for string types.
134 // This means no type assertion, recommended for faster performance
135 SendString(body string) error
136 // SendStream sets response body stream and optional body size.
137 SendStream(stream io.Reader, size ...int) error
138 // SendStreamWriter sets response body stream writer

Implementers 1

Calls

no outgoing calls