Documentation
¶
Overview ¶
Package send provides an HTTP middleware plugin for RoadRunner that enables X-Sendfile support, allowing PHP workers to delegate static file serving to the HTTP server for improved performance.
Index ¶
Constants ¶
View Source
const ( PluginName string = "sendfile" ContentTypeKey string = "Content-Type" ContentTypeVal string = "application/octet-stream" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
func (*Plugin) Middleware ¶
Middleware is an HTTP plugin middleware to serve headers
Click to show internal directories.
Click to hide internal directories.