ResponseWriter

Overview

Location

  • Reference:
    • Go.dll  .NET, .NET Standard 2.0
    • Go.fx  Island
  • Namespace: go.net.http
  • Platforms: .NET, .NET Standard 2.0, Island
  • Ancestry: Writer | ResponseWriter

Required Methods


 

method Header: Header

 

Header Header()

 

func Header() -> Header

 

func Header() Header

 

Function Header() As Header

Write (Slice<byte>): tuple of (Int64, error)

 

method Write(Slice<byte>): tuple of (Int64, error)

 

(Int64, error) Write(Slice<byte> )

 

func Write(_ Slice<byte>) -> (Int64, error)

 

func Write( Slice<byte>) tuple of (Int64, error)

 

Function Write( As Slice<byte>) As Tuple (Of Int64, error)

Parameters:

  • :

Write (Slice<Byte>): tuple of (n: Int64, err: error)    (declared in Writer)

 

method Write(p: Slice<Byte>): tuple of (n: Int64, err: error)

 

(Int64 n, error err) Write(Slice<Byte> p)

 

func Write(_ p: Slice<Byte>) -> (Int64, error)

 

func Write(p Slice<Byte>) tuple of (|name=n| Int64, |name=err| error)

 

Function Write(p As Slice<Byte>) As Tuple (Of Int64, error)

Parameters:

  • p:

WriteHeader

 

method WriteHeader(statusCode: int)

 

void WriteHeader(int statusCode)

 

func WriteHeader(_ statusCode: int)

 

// .NET, .NET Standard 2.0
func WriteHeader(statusCode int) 
// Island
func WriteHeader(statusCode int) void

 

Sub WriteHeader(statusCode As int)

Parameters:

  • statusCode: