WriteString appends s to response body.
(s string)
| 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. |
no outgoing calls