Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NewPayload (0.04 sec)

  1. internal/grid/handlers.go

    		s.InCapacity = 0
    	}
    	s.respPool.New = func() Resp {
    		return newResp()
    	}
    	s.newPayload = newPayload
    	s.WithPayload = newPayload != nil
    	return s
    }
    
    // WithSharedResponse indicates it is unsafe to reuse the response.
    // Typically this is used when the response sharing part of its data structure.
    func (h *StreamTypeHandler[Payload, Req, Resp]) WithSharedResponse() *StreamTypeHandler[Payload, Req, Resp] {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 27.7K bytes
    - Viewed (0)
Back to top