MCPcopy Index your code
hub / github.com/php/frankenphp / clientHasClosed

Method clientHasClosed

context.go:156–167  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

154}
155
156func (fc *frankenPHPContext) clientHasClosed() bool {
157 if fc.request == nil {
158 return false
159 }
160
161 select {
162 case <-fc.request.Context().Done():
163 return true
164 default:
165 return false
166 }
167}
168
169// reject sends a response with the given status code and error
170func (fc *frankenPHPContext) reject(err error) {

Callers 2

go_ub_writeFunction · 0.80
go_sapi_flushFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected