httpClientSym

package
v0.0.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 9, 2022 License: GPL-3.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddHttpRequestHeader

func AddHttpRequestHeader(clientId uint32, requestId uint32,
	key string,
	value string,
) (error errno.Error)

func CloseHttpResponseBody

func CloseHttpResponseBody(clientId uint32, requestId uint32) (error errno.Error)

func DeleteHttpRequestHeader

func DeleteHttpRequestHeader(clientId uint32, requestId uint32,
	key string,
) (error errno.Error)

func DoHttpRequest

func DoHttpRequest(clientId uint32, requestId uint32) (error errno.Error)

func GetHttpRequestHeader

func GetHttpRequestHeader(clientId uint32, requestId uint32,
	key string,
	headerPtr *byte,
) (error errno.Error)

func GetHttpRequestHeaderKeys

func GetHttpRequestHeaderKeys(clientId uint32, requestId uint32,
	headerPtr *byte, headerSize uint32,
) (error errno.Error)

func GetHttpRequestHeaderKeysSize

func GetHttpRequestHeaderKeysSize(clientId uint32, requestId uint32,
	sizePtr *uint32,
) (error errno.Error)

func GetHttpRequestHeaderSize

func GetHttpRequestHeaderSize(clientId uint32, requestId uint32,
	key string,
	sizePtr *uint32,
) (error errno.Error)

func GetHttpRequestMethod

func GetHttpRequestMethod(clientId uint32, requestId uint32, methodPtr *uint32) (error errno.Error)

func NewHttpClient

func NewHttpClient(clientId *uint32) (error errno.Error)

func NewHttpRequest

func NewHttpRequest(clientId uint32, requestIdPtr *uint32) (error errno.Error)

func ReadHttpResponseBody

func ReadHttpResponseBody(clientId uint32, requestId uint32, buf *byte, bufSize uint32, countPtr *uint32) (error errno.Error)

func SetHttpRequestBody

func SetHttpRequestBody(clientId uint32, requestId uint32, data *byte, dataSize uint32) (error errno.Error)

func SetHttpRequestHeader

func SetHttpRequestHeader(clientId uint32, requestId uint32,
	key string,
	valuesPtr *byte, valuesSize uint32,
) (error errno.Error)

func SetHttpRequestMethod

func SetHttpRequestMethod(clientId uint32, requestId uint32, method uint32) (error errno.Error)

func SetHttpRequestURL

func SetHttpRequestURL(clientId uint32, requestId uint32, url string) (error errno.Error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL