Documentation
¶
Index ¶
- func NewRieInvokeRequest(request *http.Request, writer http.ResponseWriter) *rieInvokeRequest
- type Responder
- func (s *Responder) ErrorPayloadSizeBytes() int
- func (s *Responder) SendError(err invoke.ErrorForInvoker, _ interop.InitStaticDataProvider)
- func (s *Responder) SendErrorTrailers(err invoke.ErrorForInvoker, _ invoke.InvokeBodyResponseStatus)
- func (s *Responder) SendRuntimeResponseBody(_ context.Context, runtimeResp invoke.RuntimeResponseRequest, _ time.Duration) invoke.SendResponseBodyResult
- func (s *Responder) SendRuntimeResponseHeaders(_ interop.InitStaticDataProvider, _, _ string)
- func (s *Responder) SendRuntimeResponseTrailers(request invoke.RuntimeResponseRequest)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRieInvokeRequest ¶
func NewRieInvokeRequest(request *http.Request, writer http.ResponseWriter) *rieInvokeRequest
Types ¶
type Responder ¶
type Responder struct {
// contains filtered or unexported fields
}
func NewResponder ¶
func NewResponder(invokeReq interop.InvokeRequest) *Responder
func (*Responder) ErrorPayloadSizeBytes ¶
func (*Responder) SendError ¶
func (s *Responder) SendError(err invoke.ErrorForInvoker, _ interop.InitStaticDataProvider)
func (*Responder) SendErrorTrailers ¶
func (s *Responder) SendErrorTrailers(err invoke.ErrorForInvoker, _ invoke.InvokeBodyResponseStatus)
func (*Responder) SendRuntimeResponseBody ¶
func (s *Responder) SendRuntimeResponseBody(_ context.Context, runtimeResp invoke.RuntimeResponseRequest, _ time.Duration) invoke.SendResponseBodyResult
func (*Responder) SendRuntimeResponseHeaders ¶
func (s *Responder) SendRuntimeResponseHeaders(_ interop.InitStaticDataProvider, _, _ string)
func (*Responder) SendRuntimeResponseTrailers ¶
func (s *Responder) SendRuntimeResponseTrailers(request invoke.RuntimeResponseRequest)
Click to show internal directories.
Click to hide internal directories.