Versions in this module Expand all Collapse all v1 v1.11.13-rc.2 Dec 4, 2024 v1.0.0 Dec 4, 2024 Changes in this version + func NewLockedWriter(w http.ResponseWriter) http.ResponseWriter + type Client struct + func NewClient(header http.Header, client responsewriterpb.WriterClient) *Client + func (c *Client) Flush() + func (c *Client) Header() http.Header + func (c *Client) Hijack() (net.Conn, *bufio.ReadWriter, error) + func (c *Client) Write(payload []byte) (int, error) + func (c *Client) WriteHeader(statusCode int) + type Server struct + func NewServer(writer http.ResponseWriter) *Server + func (s *Server) Flush(context.Context, *emptypb.Empty) (*emptypb.Empty, error) + func (s *Server) Hijack(context.Context, *emptypb.Empty) (*responsewriterpb.HijackResponse, error) + func (s *Server) Write(_ context.Context, req *responsewriterpb.WriteRequest) (*responsewriterpb.WriteResponse, error) + func (s *Server) WriteHeader(_ context.Context, req *responsewriterpb.WriteHeaderRequest) (*emptypb.Empty, error)