Global
Location
-
Reference:
- Go.dll .NET, .NET Standard 2.0
- Go.fx Island
- Namespace: go.golang.org.x.net.context.ctxhttp
- Platforms: .NET, .NET Standard 2.0, Island
Methods
Do
class method Do(ctx: Context; client: Memory<Client>; req: Memory<Request>): tuple of (Memory<Response>, error)
static (Memory<Response>, error) Do(Context ctx, Memory<Client> client, Memory<Request> req)
static func Do(_ ctx: Context, _ client: Memory<Client>, _ req: Memory<Request>) -> tuple of (Memory<Response>, error)
func Do(ctx Context, client Memory<Client>, req Memory<Request>) tuple of (Memory<Response>, error)
Shared Function Do(ctx As Context, client As Memory<Client>, req As Memory<Request>) As Tuple (Of Memory<Response>, error)
Parameters:
- ctx:
- client:
- req:
Get
class method Get(ctx: Context; client: Memory<Client>; url: string): tuple of (Memory<Response>, error)
static (Memory<Response>, error) Get(Context ctx, Memory<Client> client, string url)
static func Get(_ ctx: Context, _ client: Memory<Client>, _ url: string) -> tuple of (Memory<Response>, error)
func Get(ctx Context, client Memory<Client>, url string) tuple of (Memory<Response>, error)
Shared Function Get(ctx As Context, client As Memory<Client>, url As string) As Tuple (Of Memory<Response>, error)
Parameters:
- ctx:
- client:
- url:
Head
class method Head(ctx: Context; client: Memory<Client>; url: string): tuple of (Memory<Response>, error)
static (Memory<Response>, error) Head(Context ctx, Memory<Client> client, string url)
static func Head(_ ctx: Context, _ client: Memory<Client>, _ url: string) -> tuple of (Memory<Response>, error)
func Head(ctx Context, client Memory<Client>, url string) tuple of (Memory<Response>, error)
Shared Function Head(ctx As Context, client As Memory<Client>, url As string) As Tuple (Of Memory<Response>, error)
Parameters:
- ctx:
- client:
- url:
Post
class method Post(ctx: Context; client: Memory<Client>; url: string; bodyType: string; body: Reader): tuple of (Memory<Response>, error)
static (Memory<Response>, error) Post(Context ctx, Memory<Client> client, string url, string bodyType, Reader body)
static func Post(_ ctx: Context, _ client: Memory<Client>, _ url: string, _ bodyType: string, _ body: Reader) -> tuple of (Memory<Response>, error)
func Post(ctx Context, client Memory<Client>, url string, bodyType string, body Reader) tuple of (Memory<Response>, error)
Shared Function Post(ctx As Context, client As Memory<Client>, url As string, bodyType As string, body As Reader) As Tuple (Of Memory<Response>, error)
Parameters:
- ctx:
- client:
- url:
- bodyType:
- body:
PostForm
class method PostForm(ctx: Context; client: Memory<Client>; url: string; data: Values): tuple of (Memory<Response>, error)
static (Memory<Response>, error) PostForm(Context ctx, Memory<Client> client, string url, Values data)
static func PostForm(_ ctx: Context, _ client: Memory<Client>, _ url: string, _ data: Values) -> tuple of (Memory<Response>, error)
func PostForm(ctx Context, client Memory<Client>, url string, data Values) tuple of (Memory<Response>, error)
Shared Function PostForm(ctx As Context, client As Memory<Client>, url As string, data As Values) As Tuple (Of Memory<Response>, error)
Parameters:
- ctx:
- client:
- url:
- data: