soup

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const ADDRESS_ANY_PORT int32 = C.SOUP_ADDRESS_ANY_PORT
View Source
const ADDRESS_FAMILY string = C.SOUP_ADDRESS_FAMILY
View Source
const ADDRESS_NAME string = C.SOUP_ADDRESS_NAME
View Source
const ADDRESS_PHYSICAL string = C.SOUP_ADDRESS_PHYSICAL
View Source
const ADDRESS_PORT string = C.SOUP_ADDRESS_PORT
View Source
const ADDRESS_PROTOCOL string = C.SOUP_ADDRESS_PROTOCOL
View Source
const ADDRESS_SOCKADDR string = C.SOUP_ADDRESS_SOCKADDR
View Source
const AUTH_DOMAIN_ADD_PATH string = C.SOUP_AUTH_DOMAIN_ADD_PATH
View Source
const AUTH_DOMAIN_BASIC_AUTH_CALLBACK string = C.SOUP_AUTH_DOMAIN_BASIC_AUTH_CALLBACK
View Source
const AUTH_DOMAIN_BASIC_AUTH_DATA string = C.SOUP_AUTH_DOMAIN_BASIC_AUTH_DATA
View Source
const AUTH_DOMAIN_BASIC_H int32 = C.SOUP_AUTH_DOMAIN_BASIC_H
View Source
const AUTH_DOMAIN_DIGEST_AUTH_CALLBACK string = C.SOUP_AUTH_DOMAIN_DIGEST_AUTH_CALLBACK
View Source
const AUTH_DOMAIN_DIGEST_AUTH_DATA string = C.SOUP_AUTH_DOMAIN_DIGEST_AUTH_DATA
View Source
const AUTH_DOMAIN_DIGEST_H int32 = C.SOUP_AUTH_DOMAIN_DIGEST_H
View Source
const AUTH_DOMAIN_FILTER string = C.SOUP_AUTH_DOMAIN_FILTER
View Source
const AUTH_DOMAIN_FILTER_DATA string = C.SOUP_AUTH_DOMAIN_FILTER_DATA
View Source
const AUTH_DOMAIN_GENERIC_AUTH_CALLBACK string = C.SOUP_AUTH_DOMAIN_GENERIC_AUTH_CALLBACK
View Source
const AUTH_DOMAIN_GENERIC_AUTH_DATA string = C.SOUP_AUTH_DOMAIN_GENERIC_AUTH_DATA
View Source
const AUTH_DOMAIN_H int32 = C.SOUP_AUTH_DOMAIN_H
View Source
const AUTH_DOMAIN_PROXY string = C.SOUP_AUTH_DOMAIN_PROXY
View Source
const AUTH_DOMAIN_REALM string = C.SOUP_AUTH_DOMAIN_REALM
View Source
const AUTH_DOMAIN_REMOVE_PATH string = C.SOUP_AUTH_DOMAIN_REMOVE_PATH
View Source
const AUTH_H int32 = C.SOUP_AUTH_H
View Source
const AUTH_HOST string = C.SOUP_AUTH_HOST
View Source
const AUTH_IS_AUTHENTICATED string = C.SOUP_AUTH_IS_AUTHENTICATED
View Source
const AUTH_IS_FOR_PROXY string = C.SOUP_AUTH_IS_FOR_PROXY
View Source
const AUTH_MANAGER_H int32 = C.SOUP_AUTH_MANAGER_H
View Source
const AUTH_REALM string = C.SOUP_AUTH_REALM
View Source
const AUTH_SCHEME_NAME string = C.SOUP_AUTH_SCHEME_NAME
View Source
const CACHE_H int32 = C.SOUP_CACHE_H
View Source
const CHAR_HTTP_CTL int32 = C.SOUP_CHAR_HTTP_CTL
View Source
const CHAR_HTTP_SEPARATOR int32 = C.SOUP_CHAR_HTTP_SEPARATOR
View Source
const CHAR_URI_GEN_DELIMS int32 = C.SOUP_CHAR_URI_GEN_DELIMS
View Source
const CHAR_URI_PERCENT_ENCODED int32 = C.SOUP_CHAR_URI_PERCENT_ENCODED
View Source
const CHAR_URI_SUB_DELIMS int32 = C.SOUP_CHAR_URI_SUB_DELIMS
View Source
const CONTENT_DECODER_H int32 = C.SOUP_CONTENT_DECODER_H
View Source
const CONTENT_SNIFFER_H int32 = C.SOUP_CONTENT_SNIFFER_H
View Source
const COOKIE_H int32 = C.SOUP_COOKIE_H
View Source
const COOKIE_JAR_DB_FILENAME string = C.SOUP_COOKIE_JAR_DB_FILENAME
View Source
const COOKIE_JAR_DB_H int32 = C.SOUP_COOKIE_JAR_DB_H
View Source
const COOKIE_JAR_H int32 = C.SOUP_COOKIE_JAR_H
View Source
const COOKIE_JAR_READ_ONLY string = C.SOUP_COOKIE_JAR_READ_ONLY
View Source
const COOKIE_JAR_TEXT_FILENAME string = C.SOUP_COOKIE_JAR_TEXT_FILENAME
View Source
const COOKIE_JAR_TEXT_H int32 = C.SOUP_COOKIE_JAR_TEXT_H
View Source
const DATE_H int32 = C.SOUP_DATE_H
View Source
const FORM_H int32 = C.SOUP_FORM_H
View Source
const HEADERS_H int32 = C.SOUP_HEADERS_H
View Source
const LOGGER_H int32 = C.SOUP_LOGGER_H
View Source
const MESSAGE_BODY_H int32 = C.SOUP_MESSAGE_BODY_H
View Source
const MESSAGE_FLAGS string = C.SOUP_MESSAGE_FLAGS
View Source
const MESSAGE_H int32 = C.SOUP_MESSAGE_H
View Source
const MESSAGE_HEADERS_H int32 = C.SOUP_MESSAGE_HEADERS_H
View Source
const MESSAGE_HTTP_VERSION string = C.SOUP_MESSAGE_HTTP_VERSION
View Source
const MESSAGE_METHOD string = C.SOUP_MESSAGE_METHOD
View Source
const MESSAGE_REASON_PHRASE string = C.SOUP_MESSAGE_REASON_PHRASE
View Source
const MESSAGE_REQUEST_BODY string = C.SOUP_MESSAGE_REQUEST_BODY
View Source
const MESSAGE_REQUEST_HEADERS string = C.SOUP_MESSAGE_REQUEST_HEADERS
View Source
const MESSAGE_RESPONSE_BODY string = C.SOUP_MESSAGE_RESPONSE_BODY
View Source
const MESSAGE_RESPONSE_HEADERS string = C.SOUP_MESSAGE_RESPONSE_HEADERS
View Source
const MESSAGE_SERVER_SIDE string = C.SOUP_MESSAGE_SERVER_SIDE
View Source
const MESSAGE_STATUS_CODE string = C.SOUP_MESSAGE_STATUS_CODE
View Source
const MESSAGE_URI string = C.SOUP_MESSAGE_URI
View Source
const METHOD_H int32 = C.SOUP_METHOD_H
View Source
const MISC_H int32 = C.SOUP_MISC_H
View Source
const MULTIPART_H int32 = C.SOUP_MULTIPART_H
View Source
const MULTIPART_INPUT_STREAM_H int32 = C.SOUP_MULTIPART_INPUT_STREAM_H
View Source
const PASSWORD_MANAGER_H int32 = C.SOUP_PASSWORD_MANAGER_H
View Source
const PROXY_RESOLVER_DEFAULT_H int32 = C.SOUP_PROXY_RESOLVER_DEFAULT_H
View Source
const PROXY_URI_RESOLVER_H int32 = C.SOUP_PROXY_URI_RESOLVER_H
View Source
const REQUEST_DATA_H int32 = C.SOUP_REQUEST_DATA_H
View Source
const REQUEST_FILE_H int32 = C.SOUP_REQUEST_FILE_H
View Source
const REQUEST_H int32 = C.SOUP_REQUEST_H
View Source
const REQUEST_HTTP_H int32 = C.SOUP_REQUEST_HTTP_H
View Source
const SERVER_ASYNC_CONTEXT string = C.SOUP_SERVER_ASYNC_CONTEXT
View Source
const SERVER_H int32 = C.SOUP_SERVER_H
View Source
const SERVER_INTERFACE string = C.SOUP_SERVER_INTERFACE
View Source
const SERVER_PORT string = C.SOUP_SERVER_PORT
View Source
const SERVER_RAW_PATHS string = C.SOUP_SERVER_RAW_PATHS
View Source
const SERVER_SERVER_HEADER string = C.SOUP_SERVER_SERVER_HEADER
View Source
const SERVER_SSL_CERT_FILE string = C.SOUP_SERVER_SSL_CERT_FILE
View Source
const SERVER_SSL_KEY_FILE string = C.SOUP_SERVER_SSL_KEY_FILE
View Source
const SESSION_ASYNC_CONTEXT string = C.SOUP_SESSION_ASYNC_CONTEXT
View Source
const SESSION_ASYNC_H int32 = C.SOUP_SESSION_ASYNC_H
View Source
const SESSION_FEATURE_H int32 = C.SOUP_SESSION_FEATURE_H
View Source
const SESSION_H int32 = C.SOUP_SESSION_H
View Source
const SESSION_MAX_CONNS string = C.SOUP_SESSION_MAX_CONNS
View Source
const SESSION_MAX_CONNS_PER_HOST string = C.SOUP_SESSION_MAX_CONNS_PER_HOST
View Source
const SESSION_PROXY_RESOLVER string = C.SOUP_SESSION_PROXY_RESOLVER
View Source
const SESSION_PROXY_URI string = C.SOUP_SESSION_PROXY_URI
View Source
const SESSION_SSL_CA_FILE string = C.SOUP_SESSION_SSL_CA_FILE
View Source
const SESSION_SYNC_H int32 = C.SOUP_SESSION_SYNC_H
View Source
const SESSION_TIMEOUT string = C.SOUP_SESSION_TIMEOUT
View Source
const SESSION_USER_AGENT string = C.SOUP_SESSION_USER_AGENT
View Source
const SESSION_USE_NTLM string = C.SOUP_SESSION_USE_NTLM
View Source
const SOCKET_ASYNC_CONTEXT string = C.SOUP_SOCKET_ASYNC_CONTEXT
View Source
const SOCKET_FLAG_NONBLOCKING string = C.SOUP_SOCKET_FLAG_NONBLOCKING
View Source
const SOCKET_H int32 = C.SOUP_SOCKET_H
View Source
const SOCKET_IS_SERVER string = C.SOUP_SOCKET_IS_SERVER
View Source
const SOCKET_LOCAL_ADDRESS string = C.SOUP_SOCKET_LOCAL_ADDRESS
View Source
const SOCKET_REMOTE_ADDRESS string = C.SOUP_SOCKET_REMOTE_ADDRESS
View Source
const SOCKET_SSL_CREDENTIALS string = C.SOUP_SOCKET_SSL_CREDENTIALS
View Source
const SOCKET_SSL_FALLBACK string = C.SOUP_SOCKET_SSL_FALLBACK
View Source
const SOCKET_SSL_STRICT string = C.SOUP_SOCKET_SSL_STRICT
View Source
const SOCKET_TIMEOUT string = C.SOUP_SOCKET_TIMEOUT
View Source
const SOCKET_TRUSTED_CERTIFICATE string = C.SOUP_SOCKET_TRUSTED_CERTIFICATE
View Source
const STATUS_H int32 = C.SOUP_STATUS_H
View Source
const TYPES_H int32 = C.SOUP_TYPES_H
View Source
const URI_H int32 = C.SOUP_URI_H
View Source
const VALUE_UTILS_H int32 = C.SOUP_VALUE_UTILS_H
View Source
const XMLRPC_H int32 = C.SOUP_XMLRPC_H
View Source
const XMLRPC_OLD_H int32 = C.SOUP_XMLRPC_OLD_H

Variables

This section is empty.

Functions

func AuthDomainDigestEncodePassword

func AuthDomainDigestEncodePassword(username string, realm string, password string) string

AuthDomainDigestEncodePassword is a wrapper around the C function soup_auth_domain_digest_encode_password.

func FormDecode

func FormDecode(encodedForm string) *glib.HashTable

FormDecode is a wrapper around the C function soup_form_decode.

func FormEncodeDatalist

func FormEncodeDatalist(formDataSet *glib.Data) string

FormEncodeDatalist is a wrapper around the C function soup_form_encode_datalist.

func FormEncodeHash

func FormEncodeHash(formDataSet *glib.HashTable) string

FormEncodeHash is a wrapper around the C function soup_form_encode_hash.

func HeaderContains

func HeaderContains(header string, token string) bool

HeaderContains is a wrapper around the C function soup_header_contains.

func HeaderFreeList

func HeaderFreeList(list *glib.SList)

HeaderFreeList is a wrapper around the C function soup_header_free_list.

func HeaderFreeParamList

func HeaderFreeParamList(paramList *glib.HashTable)

HeaderFreeParamList is a wrapper around the C function soup_header_free_param_list.

func HeaderParseList

func HeaderParseList(header string) *glib.SList

HeaderParseList is a wrapper around the C function soup_header_parse_list.

func HeaderParseParamList

func HeaderParseParamList(header string) *glib.HashTable

HeaderParseParamList is a wrapper around the C function soup_header_parse_param_list.

func HeaderParseQualityList

func HeaderParseQualityList(header string) (*glib.SList, *glib.SList)

HeaderParseQualityList is a wrapper around the C function soup_header_parse_quality_list.

func HttpErrorQuark

func HttpErrorQuark() glib.Quark

HttpErrorQuark is a wrapper around the C function soup_http_error_quark.

func StatusGetPhrase

func StatusGetPhrase(statusCode uint32) string

StatusGetPhrase is a wrapper around the C function soup_status_get_phrase.

func StrCaseEqual

func StrCaseEqual(v1 uintptr, v2 uintptr) bool

StrCaseEqual is a wrapper around the C function soup_str_case_equal.

func StrCaseHash

func StrCaseHash(key uintptr) uint32

StrCaseHash is a wrapper around the C function soup_str_case_hash.

func URIDecode

func URIDecode(part string) string

URIDecode is a wrapper around the C function soup_uri_decode.

func URIEncode

func URIEncode(part string, escapeExtra string) string

URIEncode is a wrapper around the C function soup_uri_encode.

func URINormalize

func URINormalize(part string, unescapeExtra string) string

URINormalize is a wrapper around the C function soup_uri_normalize.

func ValueArrayNew

func ValueArrayNew() *gobject.ValueArray

ValueArrayNew is a wrapper around the C function soup_value_array_new.

func ValueHashInsertValue

func ValueHashInsertValue(hash *glib.HashTable, key string, value *gobject.Value)

ValueHashInsertValue is a wrapper around the C function soup_value_hash_insert_value.

func ValueHashNew

func ValueHashNew() *glib.HashTable

ValueHashNew is a wrapper around the C function soup_value_hash_new.

func XMLRPCErrorQuark

func XMLRPCErrorQuark() glib.Quark

XMLRPCErrorQuark is a wrapper around the C function soup_xmlrpc_error_quark.

func XMLRPCFaultQuark

func XMLRPCFaultQuark() glib.Quark

XMLRPCFaultQuark is a wrapper around the C function soup_xmlrpc_fault_quark.

func XmlrpcBuildFault

func XmlrpcBuildFault(faultCode int32, faultFormat string, args ...interface{}) string

XmlrpcBuildFault is a wrapper around the C function soup_xmlrpc_build_fault.

func XmlrpcBuildMethodResponse

func XmlrpcBuildMethodResponse(value *gobject.Value) string

XmlrpcBuildMethodResponse is a wrapper around the C function soup_xmlrpc_build_method_response.

func XmlrpcParseMethodCall

func XmlrpcParseMethodCall(methodCall string, length int32) (bool, string, *gobject.ValueArray)

XmlrpcParseMethodCall is a wrapper around the C function soup_xmlrpc_parse_method_call.

func XmlrpcParseMethodResponse

func XmlrpcParseMethodResponse(methodResponse string, length int32) (bool, *gobject.Value, error)

XmlrpcParseMethodResponse is a wrapper around the C function soup_xmlrpc_parse_method_response.

func XmlrpcSetFault

func XmlrpcSetFault(msg *Message, faultCode int32, faultFormat string, args ...interface{})

XmlrpcSetFault is a wrapper around the C function soup_xmlrpc_set_fault.

Types

type Address

type Address struct {
	// contains filtered or unexported fields
}

Address is a wrapper around the C record SoupAddress.

func AddressNew

func AddressNew(name string, port uint32) *Address

AddressNew is a wrapper around the C function soup_address_new.

func AddressNewAny

func AddressNewAny(family AddressFamily, port uint32) *Address

AddressNewAny is a wrapper around the C function soup_address_new_any.

func AddressNewFromC

func AddressNewFromC(u unsafe.Pointer) *Address

func CastToAddress

func CastToAddress(object *gobject.Object) *Address

CastToWidget down casts any arbitrary Object to Address. Exercise care, as this is a potentially dangerous function if the Object is not a Address.

func (*Address) Equals

func (recv *Address) Equals(other *Address) bool

Equals compares this Address with another Address, and returns true if they represent the same GObject.

func (*Address) GetName

func (recv *Address) GetName() string

GetName is a wrapper around the C function soup_address_get_name.

func (*Address) GetPhysical

func (recv *Address) GetPhysical() string

GetPhysical is a wrapper around the C function soup_address_get_physical.

func (*Address) GetPort

func (recv *Address) GetPort() uint32

GetPort is a wrapper around the C function soup_address_get_port.

func (*Address) GetSockaddr

func (recv *Address) GetSockaddr(len int32) uintptr

GetSockaddr is a wrapper around the C function soup_address_get_sockaddr.

func (*Address) IsResolved

func (recv *Address) IsResolved() bool

IsResolved is a wrapper around the C function soup_address_is_resolved.

func (*Address) Object

func (recv *Address) Object() *gobject.Object

Object upcasts to *Object

func (*Address) ResolveSync

func (recv *Address) ResolveSync(cancellable *gio.Cancellable) uint32

ResolveSync is a wrapper around the C function soup_address_resolve_sync.

func (*Address) SocketConnectable

func (recv *Address) SocketConnectable() *gio.SocketConnectable

SocketConnectable returns the SocketConnectable interface implemented by Address

func (*Address) ToC

func (recv *Address) ToC() unsafe.Pointer

type AddressClass

type AddressClass struct {
	// contains filtered or unexported fields
}

AddressClass is a wrapper around the C record SoupAddressClass.

func AddressClassNewFromC

func AddressClassNewFromC(u unsafe.Pointer) *AddressClass

func (*AddressClass) Equals

func (recv *AddressClass) Equals(other *AddressClass) bool

Equals compares this AddressClass with another AddressClass, and returns true if they represent the same GObject.

func (*AddressClass) ToC

func (recv *AddressClass) ToC() unsafe.Pointer

type AddressFamily

type AddressFamily C.SoupAddressFamily
const (
	SOUP_ADDRESS_FAMILY_INVALID AddressFamily = -1
	SOUP_ADDRESS_FAMILY_IPV4    AddressFamily = 2
	SOUP_ADDRESS_FAMILY_IPV6    AddressFamily = 10
)

type Auth

type Auth struct {

	// parent : record
	Realm string
	// contains filtered or unexported fields
}

Auth is a wrapper around the C record SoupAuth.

func AuthNew

func AuthNew(type_ gobject.Type, msg *Message, authHeader string) *Auth

AuthNew is a wrapper around the C function soup_auth_new.

func AuthNewFromC

func AuthNewFromC(u unsafe.Pointer) *Auth

func CastToAuth

func CastToAuth(object *gobject.Object) *Auth

CastToWidget down casts any arbitrary Object to Auth. Exercise care, as this is a potentially dangerous function if the Object is not a Auth.

func (*Auth) Authenticate

func (recv *Auth) Authenticate(username string, password string)

Authenticate is a wrapper around the C function soup_auth_authenticate.

func (*Auth) Equals

func (recv *Auth) Equals(other *Auth) bool

Equals compares this Auth with another Auth, and returns true if they represent the same GObject.

func (*Auth) FreeProtectionSpace

func (recv *Auth) FreeProtectionSpace(space *glib.SList)

FreeProtectionSpace is a wrapper around the C function soup_auth_free_protection_space.

func (*Auth) GetAuthorization

func (recv *Auth) GetAuthorization(msg *Message) string

GetAuthorization is a wrapper around the C function soup_auth_get_authorization.

func (*Auth) GetHost

func (recv *Auth) GetHost() string

GetHost is a wrapper around the C function soup_auth_get_host.

func (*Auth) GetInfo

func (recv *Auth) GetInfo() string

GetInfo is a wrapper around the C function soup_auth_get_info.

func (*Auth) GetProtectionSpace

func (recv *Auth) GetProtectionSpace(sourceUri *URI) *glib.SList

GetProtectionSpace is a wrapper around the C function soup_auth_get_protection_space.

func (*Auth) GetRealm

func (recv *Auth) GetRealm() string

GetRealm is a wrapper around the C function soup_auth_get_realm.

func (*Auth) GetSavedPassword

func (recv *Auth) GetSavedPassword(user string) string

GetSavedPassword is a wrapper around the C function soup_auth_get_saved_password.

func (*Auth) GetSavedUsers

func (recv *Auth) GetSavedUsers() *glib.SList

GetSavedUsers is a wrapper around the C function soup_auth_get_saved_users.

func (*Auth) GetSchemeName

func (recv *Auth) GetSchemeName() string

GetSchemeName is a wrapper around the C function soup_auth_get_scheme_name.

func (*Auth) HasSavedPassword

func (recv *Auth) HasSavedPassword(username string, password string)

HasSavedPassword is a wrapper around the C function soup_auth_has_saved_password.

func (*Auth) IsAuthenticated

func (recv *Auth) IsAuthenticated() bool

IsAuthenticated is a wrapper around the C function soup_auth_is_authenticated.

func (*Auth) IsForProxy

func (recv *Auth) IsForProxy() bool

IsForProxy is a wrapper around the C function soup_auth_is_for_proxy.

func (*Auth) Object

func (recv *Auth) Object() *gobject.Object

Object upcasts to *Object

func (*Auth) SavePassword

func (recv *Auth) SavePassword(username string, password string)

SavePassword is a wrapper around the C function soup_auth_save_password.

func (*Auth) ToC

func (recv *Auth) ToC() unsafe.Pointer

func (*Auth) Update

func (recv *Auth) Update(msg *Message, authHeader string) bool

Update is a wrapper around the C function soup_auth_update.

type AuthClass

type AuthClass struct {

	// parent_class : record
	SchemeName string
	Strength   uint32
	// contains filtered or unexported fields
}

AuthClass is a wrapper around the C record SoupAuthClass.

func AuthClassNewFromC

func AuthClassNewFromC(u unsafe.Pointer) *AuthClass

func (*AuthClass) Equals

func (recv *AuthClass) Equals(other *AuthClass) bool

Equals compares this AuthClass with another AuthClass, and returns true if they represent the same GObject.

func (*AuthClass) ToC

func (recv *AuthClass) ToC() unsafe.Pointer

type AuthDomain

type AuthDomain struct {
	// contains filtered or unexported fields
}

AuthDomain is a wrapper around the C record SoupAuthDomain.

func AuthDomainNewFromC

func AuthDomainNewFromC(u unsafe.Pointer) *AuthDomain

func CastToAuthDomain

func CastToAuthDomain(object *gobject.Object) *AuthDomain

CastToWidget down casts any arbitrary Object to AuthDomain. Exercise care, as this is a potentially dangerous function if the Object is not a AuthDomain.

func (*AuthDomain) Accepts

func (recv *AuthDomain) Accepts(msg *Message) string

Accepts is a wrapper around the C function soup_auth_domain_accepts.

func (*AuthDomain) AddPath

func (recv *AuthDomain) AddPath(path string)

AddPath is a wrapper around the C function soup_auth_domain_add_path.

func (*AuthDomain) Challenge

func (recv *AuthDomain) Challenge(msg *Message)

Challenge is a wrapper around the C function soup_auth_domain_challenge.

func (*AuthDomain) CheckPassword

func (recv *AuthDomain) CheckPassword(msg *Message, username string, password string) bool

CheckPassword is a wrapper around the C function soup_auth_domain_check_password.

func (*AuthDomain) Covers

func (recv *AuthDomain) Covers(msg *Message) bool

Covers is a wrapper around the C function soup_auth_domain_covers.

func (*AuthDomain) Equals

func (recv *AuthDomain) Equals(other *AuthDomain) bool

Equals compares this AuthDomain with another AuthDomain, and returns true if they represent the same GObject.

func (*AuthDomain) GetRealm

func (recv *AuthDomain) GetRealm() string

GetRealm is a wrapper around the C function soup_auth_domain_get_realm.

func (*AuthDomain) Object

func (recv *AuthDomain) Object() *gobject.Object

Object upcasts to *Object

func (*AuthDomain) RemovePath

func (recv *AuthDomain) RemovePath(path string)

RemovePath is a wrapper around the C function soup_auth_domain_remove_path.

func (*AuthDomain) ToC

func (recv *AuthDomain) ToC() unsafe.Pointer

func (*AuthDomain) TryGenericAuthCallback

func (recv *AuthDomain) TryGenericAuthCallback(msg *Message, username string) bool

TryGenericAuthCallback is a wrapper around the C function soup_auth_domain_try_generic_auth_callback.

type AuthDomainBasic

type AuthDomainBasic struct {
	// contains filtered or unexported fields
}

AuthDomainBasic is a wrapper around the C record SoupAuthDomainBasic.

func AuthDomainBasicNewFromC

func AuthDomainBasicNewFromC(u unsafe.Pointer) *AuthDomainBasic

func CastToAuthDomainBasic

func CastToAuthDomainBasic(object *gobject.Object) *AuthDomainBasic

CastToWidget down casts any arbitrary Object to AuthDomainBasic. Exercise care, as this is a potentially dangerous function if the Object is not a AuthDomainBasic.

func (*AuthDomainBasic) AuthDomain

func (recv *AuthDomainBasic) AuthDomain() *AuthDomain

AuthDomain upcasts to *AuthDomain

func (*AuthDomainBasic) Equals

func (recv *AuthDomainBasic) Equals(other *AuthDomainBasic) bool

Equals compares this AuthDomainBasic with another AuthDomainBasic, and returns true if they represent the same GObject.

func (*AuthDomainBasic) Object

func (recv *AuthDomainBasic) Object() *gobject.Object

Object upcasts to *Object

func (*AuthDomainBasic) ToC

func (recv *AuthDomainBasic) ToC() unsafe.Pointer

type AuthDomainBasicClass

type AuthDomainBasicClass struct {
	// contains filtered or unexported fields
}

AuthDomainBasicClass is a wrapper around the C record SoupAuthDomainBasicClass.

func AuthDomainBasicClassNewFromC

func AuthDomainBasicClassNewFromC(u unsafe.Pointer) *AuthDomainBasicClass

func (*AuthDomainBasicClass) Equals

func (recv *AuthDomainBasicClass) Equals(other *AuthDomainBasicClass) bool

Equals compares this AuthDomainBasicClass with another AuthDomainBasicClass, and returns true if they represent the same GObject.

func (*AuthDomainBasicClass) ToC

func (recv *AuthDomainBasicClass) ToC() unsafe.Pointer

type AuthDomainClass

type AuthDomainClass struct {
	// contains filtered or unexported fields
}

AuthDomainClass is a wrapper around the C record SoupAuthDomainClass.

func AuthDomainClassNewFromC

func AuthDomainClassNewFromC(u unsafe.Pointer) *AuthDomainClass

func (*AuthDomainClass) Equals

func (recv *AuthDomainClass) Equals(other *AuthDomainClass) bool

Equals compares this AuthDomainClass with another AuthDomainClass, and returns true if they represent the same GObject.

func (*AuthDomainClass) ToC

func (recv *AuthDomainClass) ToC() unsafe.Pointer

type AuthDomainDigest

type AuthDomainDigest struct {
	// contains filtered or unexported fields
}

AuthDomainDigest is a wrapper around the C record SoupAuthDomainDigest.

func AuthDomainDigestNewFromC

func AuthDomainDigestNewFromC(u unsafe.Pointer) *AuthDomainDigest

func CastToAuthDomainDigest

func CastToAuthDomainDigest(object *gobject.Object) *AuthDomainDigest

CastToWidget down casts any arbitrary Object to AuthDomainDigest. Exercise care, as this is a potentially dangerous function if the Object is not a AuthDomainDigest.

func (*AuthDomainDigest) AuthDomain

func (recv *AuthDomainDigest) AuthDomain() *AuthDomain

AuthDomain upcasts to *AuthDomain

func (*AuthDomainDigest) Equals

func (recv *AuthDomainDigest) Equals(other *AuthDomainDigest) bool

Equals compares this AuthDomainDigest with another AuthDomainDigest, and returns true if they represent the same GObject.

func (*AuthDomainDigest) Object

func (recv *AuthDomainDigest) Object() *gobject.Object

Object upcasts to *Object

func (*AuthDomainDigest) ToC

func (recv *AuthDomainDigest) ToC() unsafe.Pointer

type AuthDomainDigestClass

type AuthDomainDigestClass struct {
	// contains filtered or unexported fields
}

AuthDomainDigestClass is a wrapper around the C record SoupAuthDomainDigestClass.

func AuthDomainDigestClassNewFromC

func AuthDomainDigestClassNewFromC(u unsafe.Pointer) *AuthDomainDigestClass

func (*AuthDomainDigestClass) Equals

func (recv *AuthDomainDigestClass) Equals(other *AuthDomainDigestClass) bool

Equals compares this AuthDomainDigestClass with another AuthDomainDigestClass, and returns true if they represent the same GObject.

func (*AuthDomainDigestClass) ToC

func (recv *AuthDomainDigestClass) ToC() unsafe.Pointer

type AuthManager

type AuthManager struct {
	// contains filtered or unexported fields
}

AuthManager is a wrapper around the C record SoupAuthManager.

func AuthManagerNewFromC

func AuthManagerNewFromC(u unsafe.Pointer) *AuthManager

func CastToAuthManager

func CastToAuthManager(object *gobject.Object) *AuthManager

CastToWidget down casts any arbitrary Object to AuthManager. Exercise care, as this is a potentially dangerous function if the Object is not a AuthManager.

func (*AuthManager) ConnectAuthenticate

func (recv *AuthManager) ConnectAuthenticate(callback AuthManagerSignalAuthenticateCallback) int

ConnectAuthenticate connects the callback to the 'authenticate' signal for the AuthManager.

The returned value represents the connection, and may be passed to DisconnectAuthenticate to remove it.

func (*AuthManager) DisconnectAuthenticate

func (recv *AuthManager) DisconnectAuthenticate(connectionID int)

DisconnectAuthenticate disconnects a callback from the 'authenticate' signal for the AuthManager.

The connectionID should be a value returned from a call to ConnectAuthenticate.

func (*AuthManager) Equals

func (recv *AuthManager) Equals(other *AuthManager) bool

Equals compares this AuthManager with another AuthManager, and returns true if they represent the same GObject.

func (*AuthManager) Object

func (recv *AuthManager) Object() *gobject.Object

Object upcasts to *Object

func (*AuthManager) SessionFeature

func (recv *AuthManager) SessionFeature() *SessionFeature

SessionFeature returns the SessionFeature interface implemented by AuthManager

func (*AuthManager) ToC

func (recv *AuthManager) ToC() unsafe.Pointer

type AuthManagerClass

type AuthManagerClass struct {
	// contains filtered or unexported fields
}

AuthManagerClass is a wrapper around the C record SoupAuthManagerClass.

func AuthManagerClassNewFromC

func AuthManagerClassNewFromC(u unsafe.Pointer) *AuthManagerClass

func (*AuthManagerClass) Equals

func (recv *AuthManagerClass) Equals(other *AuthManagerClass) bool

Equals compares this AuthManagerClass with another AuthManagerClass, and returns true if they represent the same GObject.

func (*AuthManagerClass) ToC

func (recv *AuthManagerClass) ToC() unsafe.Pointer

type AuthManagerPrivate

type AuthManagerPrivate struct {
	// contains filtered or unexported fields
}

AuthManagerPrivate is a wrapper around the C record SoupAuthManagerPrivate.

func AuthManagerPrivateNewFromC

func AuthManagerPrivateNewFromC(u unsafe.Pointer) *AuthManagerPrivate

func (*AuthManagerPrivate) Equals

func (recv *AuthManagerPrivate) Equals(other *AuthManagerPrivate) bool

Equals compares this AuthManagerPrivate with another AuthManagerPrivate, and returns true if they represent the same GObject.

func (*AuthManagerPrivate) ToC

func (recv *AuthManagerPrivate) ToC() unsafe.Pointer

type AuthManagerSignalAuthenticateCallback

type AuthManagerSignalAuthenticateCallback func(targetObject *AuthManager, msg *Message, auth *Auth, retrying bool)

AuthManagerSignalAuthenticateCallback is a callback function for a 'authenticate' signal emitted from a AuthManager.

type Buffer

type Buffer struct {

	// data : gchar* with indirection level of 1
	Length uint64
	// contains filtered or unexported fields
}

Buffer is a wrapper around the C record SoupBuffer.

func BufferNew

func BufferNew(use MemoryUse, data []uint8) *Buffer

BufferNew is a wrapper around the C function soup_buffer_new.

func BufferNewFromC

func BufferNewFromC(u unsafe.Pointer) *Buffer

func (*Buffer) Copy

func (recv *Buffer) Copy() *Buffer

Copy is a wrapper around the C function soup_buffer_copy.

func (*Buffer) Equals

func (recv *Buffer) Equals(other *Buffer) bool

Equals compares this Buffer with another Buffer, and returns true if they represent the same GObject.

func (*Buffer) Free

func (recv *Buffer) Free()

Free is a wrapper around the C function soup_buffer_free.

func (*Buffer) GetOwner

func (recv *Buffer) GetOwner() uintptr

GetOwner is a wrapper around the C function soup_buffer_get_owner.

func (*Buffer) NewSubbuffer

func (recv *Buffer) NewSubbuffer(offset uint64, length uint64) *Buffer

NewSubbuffer is a wrapper around the C function soup_buffer_new_subbuffer.

func (*Buffer) ToC

func (recv *Buffer) ToC() unsafe.Pointer

type Cache

type Cache struct {
	// contains filtered or unexported fields
}

Cache is a wrapper around the C record SoupCache.

func CacheNewFromC

func CacheNewFromC(u unsafe.Pointer) *Cache

func CastToCache

func CastToCache(object *gobject.Object) *Cache

CastToWidget down casts any arbitrary Object to Cache. Exercise care, as this is a potentially dangerous function if the Object is not a Cache.

func (*Cache) Equals

func (recv *Cache) Equals(other *Cache) bool

Equals compares this Cache with another Cache, and returns true if they represent the same GObject.

func (*Cache) Object

func (recv *Cache) Object() *gobject.Object

Object upcasts to *Object

func (*Cache) SessionFeature

func (recv *Cache) SessionFeature() *SessionFeature

SessionFeature returns the SessionFeature interface implemented by Cache

func (*Cache) ToC

func (recv *Cache) ToC() unsafe.Pointer

type CacheClass

type CacheClass struct {
	// contains filtered or unexported fields
}

CacheClass is a wrapper around the C record SoupCacheClass.

func CacheClassNewFromC

func CacheClassNewFromC(u unsafe.Pointer) *CacheClass

func (*CacheClass) Equals

func (recv *CacheClass) Equals(other *CacheClass) bool

Equals compares this CacheClass with another CacheClass, and returns true if they represent the same GObject.

func (*CacheClass) ToC

func (recv *CacheClass) ToC() unsafe.Pointer

type CachePrivate

type CachePrivate struct {
	// contains filtered or unexported fields
}

CachePrivate is a wrapper around the C record SoupCachePrivate.

func CachePrivateNewFromC

func CachePrivateNewFromC(u unsafe.Pointer) *CachePrivate

func (*CachePrivate) Equals

func (recv *CachePrivate) Equals(other *CachePrivate) bool

Equals compares this CachePrivate with another CachePrivate, and returns true if they represent the same GObject.

func (*CachePrivate) ToC

func (recv *CachePrivate) ToC() unsafe.Pointer

type CacheResponse

type CacheResponse C.SoupCacheResponse
const (
	SOUP_CACHE_RESPONSE_FRESH            CacheResponse = 0
	SOUP_CACHE_RESPONSE_NEEDS_VALIDATION CacheResponse = 1
	SOUP_CACHE_RESPONSE_STALE            CacheResponse = 2
)

type Cacheability

type Cacheability C.SoupCacheability
const (
	SOUP_CACHE_CACHEABLE   Cacheability = 1
	SOUP_CACHE_UNCACHEABLE Cacheability = 2
	SOUP_CACHE_INVALIDATES Cacheability = 4
	SOUP_CACHE_VALIDATES   Cacheability = 8
)

type ClientContext

type ClientContext struct {
	// contains filtered or unexported fields
}

ClientContext is a wrapper around the C record SoupClientContext.

func ClientContextNewFromC

func ClientContextNewFromC(u unsafe.Pointer) *ClientContext

func (*ClientContext) Equals

func (recv *ClientContext) Equals(other *ClientContext) bool

Equals compares this ClientContext with another ClientContext, and returns true if they represent the same GObject.

func (*ClientContext) GetAddress

func (recv *ClientContext) GetAddress() *Address

GetAddress is a wrapper around the C function soup_client_context_get_address.

func (*ClientContext) GetAuthDomain

func (recv *ClientContext) GetAuthDomain() *AuthDomain

GetAuthDomain is a wrapper around the C function soup_client_context_get_auth_domain.

func (*ClientContext) GetAuthUser

func (recv *ClientContext) GetAuthUser() string

GetAuthUser is a wrapper around the C function soup_client_context_get_auth_user.

func (*ClientContext) GetHost

func (recv *ClientContext) GetHost() string

GetHost is a wrapper around the C function soup_client_context_get_host.

func (*ClientContext) GetSocket

func (recv *ClientContext) GetSocket() *Socket

GetSocket is a wrapper around the C function soup_client_context_get_socket.

func (*ClientContext) ToC

func (recv *ClientContext) ToC() unsafe.Pointer

type Connection

type Connection struct {
	// contains filtered or unexported fields
}

Connection is a wrapper around the C record SoupConnection.

func ConnectionNewFromC

func ConnectionNewFromC(u unsafe.Pointer) *Connection

func (*Connection) Equals

func (recv *Connection) Equals(other *Connection) bool

Equals compares this Connection with another Connection, and returns true if they represent the same GObject.

func (*Connection) ToC

func (recv *Connection) ToC() unsafe.Pointer

type ConnectionState

type ConnectionState C.SoupConnectionState
const (
	SOUP_CONNECTION_NEW                 ConnectionState = 0
	SOUP_CONNECTION_CONNECTING          ConnectionState = 1
	SOUP_CONNECTION_IDLE                ConnectionState = 2
	SOUP_CONNECTION_IN_USE              ConnectionState = 3
	SOUP_CONNECTION_REMOTE_DISCONNECTED ConnectionState = 4
	SOUP_CONNECTION_DISCONNECTED        ConnectionState = 5
)

type ContentDecoder

type ContentDecoder struct {
	// contains filtered or unexported fields
}

ContentDecoder is a wrapper around the C record SoupContentDecoder.

func CastToContentDecoder

func CastToContentDecoder(object *gobject.Object) *ContentDecoder

CastToWidget down casts any arbitrary Object to ContentDecoder. Exercise care, as this is a potentially dangerous function if the Object is not a ContentDecoder.

func ContentDecoderNewFromC

func ContentDecoderNewFromC(u unsafe.Pointer) *ContentDecoder

func (*ContentDecoder) Equals

func (recv *ContentDecoder) Equals(other *ContentDecoder) bool

Equals compares this ContentDecoder with another ContentDecoder, and returns true if they represent the same GObject.

func (*ContentDecoder) Object

func (recv *ContentDecoder) Object() *gobject.Object

Object upcasts to *Object

func (*ContentDecoder) SessionFeature

func (recv *ContentDecoder) SessionFeature() *SessionFeature

SessionFeature returns the SessionFeature interface implemented by ContentDecoder

func (*ContentDecoder) ToC

func (recv *ContentDecoder) ToC() unsafe.Pointer

type ContentDecoderClass

type ContentDecoderClass struct {
	// contains filtered or unexported fields
}

ContentDecoderClass is a wrapper around the C record SoupContentDecoderClass.

func ContentDecoderClassNewFromC

func ContentDecoderClassNewFromC(u unsafe.Pointer) *ContentDecoderClass

func (*ContentDecoderClass) Equals

func (recv *ContentDecoderClass) Equals(other *ContentDecoderClass) bool

Equals compares this ContentDecoderClass with another ContentDecoderClass, and returns true if they represent the same GObject.

func (*ContentDecoderClass) ToC

func (recv *ContentDecoderClass) ToC() unsafe.Pointer

type ContentDecoderPrivate

type ContentDecoderPrivate struct {
	// contains filtered or unexported fields
}

ContentDecoderPrivate is a wrapper around the C record SoupContentDecoderPrivate.

func ContentDecoderPrivateNewFromC

func ContentDecoderPrivateNewFromC(u unsafe.Pointer) *ContentDecoderPrivate

func (*ContentDecoderPrivate) Equals

func (recv *ContentDecoderPrivate) Equals(other *ContentDecoderPrivate) bool

Equals compares this ContentDecoderPrivate with another ContentDecoderPrivate, and returns true if they represent the same GObject.

func (*ContentDecoderPrivate) ToC

func (recv *ContentDecoderPrivate) ToC() unsafe.Pointer

type ContentSniffer

type ContentSniffer struct {
	// contains filtered or unexported fields
}

ContentSniffer is a wrapper around the C record SoupContentSniffer.

func CastToContentSniffer

func CastToContentSniffer(object *gobject.Object) *ContentSniffer

CastToWidget down casts any arbitrary Object to ContentSniffer. Exercise care, as this is a potentially dangerous function if the Object is not a ContentSniffer.

func ContentSnifferNewFromC

func ContentSnifferNewFromC(u unsafe.Pointer) *ContentSniffer

func (*ContentSniffer) Equals

func (recv *ContentSniffer) Equals(other *ContentSniffer) bool

Equals compares this ContentSniffer with another ContentSniffer, and returns true if they represent the same GObject.

func (*ContentSniffer) Object

func (recv *ContentSniffer) Object() *gobject.Object

Object upcasts to *Object

func (*ContentSniffer) SessionFeature

func (recv *ContentSniffer) SessionFeature() *SessionFeature

SessionFeature returns the SessionFeature interface implemented by ContentSniffer

func (*ContentSniffer) ToC

func (recv *ContentSniffer) ToC() unsafe.Pointer

type ContentSnifferClass

type ContentSnifferClass struct {
	// contains filtered or unexported fields
}

ContentSnifferClass is a wrapper around the C record SoupContentSnifferClass.

func ContentSnifferClassNewFromC

func ContentSnifferClassNewFromC(u unsafe.Pointer) *ContentSnifferClass

func (*ContentSnifferClass) Equals

func (recv *ContentSnifferClass) Equals(other *ContentSnifferClass) bool

Equals compares this ContentSnifferClass with another ContentSnifferClass, and returns true if they represent the same GObject.

func (*ContentSnifferClass) ToC

func (recv *ContentSnifferClass) ToC() unsafe.Pointer

type ContentSnifferPrivate

type ContentSnifferPrivate struct {
	// contains filtered or unexported fields
}

ContentSnifferPrivate is a wrapper around the C record SoupContentSnifferPrivate.

func ContentSnifferPrivateNewFromC

func ContentSnifferPrivateNewFromC(u unsafe.Pointer) *ContentSnifferPrivate

func (*ContentSnifferPrivate) Equals

func (recv *ContentSnifferPrivate) Equals(other *ContentSnifferPrivate) bool

Equals compares this ContentSnifferPrivate with another ContentSnifferPrivate, and returns true if they represent the same GObject.

func (*ContentSnifferPrivate) ToC

func (recv *ContentSnifferPrivate) ToC() unsafe.Pointer

type CookieJar

type CookieJar struct {
	// contains filtered or unexported fields
}

CookieJar is a wrapper around the C record SoupCookieJar.

func CastToCookieJar

func CastToCookieJar(object *gobject.Object) *CookieJar

CastToWidget down casts any arbitrary Object to CookieJar. Exercise care, as this is a potentially dangerous function if the Object is not a CookieJar.

func CookieJarNewFromC

func CookieJarNewFromC(u unsafe.Pointer) *CookieJar

func (*CookieJar) ConnectChanged

func (recv *CookieJar) ConnectChanged(callback CookieJarSignalChangedCallback) int

ConnectChanged connects the callback to the 'changed' signal for the CookieJar.

The returned value represents the connection, and may be passed to DisconnectChanged to remove it.

func (*CookieJar) DisconnectChanged

func (recv *CookieJar) DisconnectChanged(connectionID int)

DisconnectChanged disconnects a callback from the 'changed' signal for the CookieJar.

The connectionID should be a value returned from a call to ConnectChanged.

func (*CookieJar) Equals

func (recv *CookieJar) Equals(other *CookieJar) bool

Equals compares this CookieJar with another CookieJar, and returns true if they represent the same GObject.

func (*CookieJar) Object

func (recv *CookieJar) Object() *gobject.Object

Object upcasts to *Object

func (*CookieJar) SessionFeature

func (recv *CookieJar) SessionFeature() *SessionFeature

SessionFeature returns the SessionFeature interface implemented by CookieJar

func (*CookieJar) ToC

func (recv *CookieJar) ToC() unsafe.Pointer

type CookieJarClass

type CookieJarClass struct {
	// contains filtered or unexported fields
}

CookieJarClass is a wrapper around the C record SoupCookieJarClass.

func CookieJarClassNewFromC

func CookieJarClassNewFromC(u unsafe.Pointer) *CookieJarClass

func (*CookieJarClass) Equals

func (recv *CookieJarClass) Equals(other *CookieJarClass) bool

Equals compares this CookieJarClass with another CookieJarClass, and returns true if they represent the same GObject.

func (*CookieJarClass) ToC

func (recv *CookieJarClass) ToC() unsafe.Pointer

type CookieJarDB

type CookieJarDB struct {
	// contains filtered or unexported fields
}

CookieJarDB is a wrapper around the C record SoupCookieJarDB.

func CastToCookieJarDB

func CastToCookieJarDB(object *gobject.Object) *CookieJarDB

CastToWidget down casts any arbitrary Object to CookieJarDB. Exercise care, as this is a potentially dangerous function if the Object is not a CookieJarDB.

func CookieJarDBNewFromC

func CookieJarDBNewFromC(u unsafe.Pointer) *CookieJarDB

func (*CookieJarDB) CookieJar

func (recv *CookieJarDB) CookieJar() *CookieJar

CookieJar upcasts to *CookieJar

func (*CookieJarDB) Equals

func (recv *CookieJarDB) Equals(other *CookieJarDB) bool

Equals compares this CookieJarDB with another CookieJarDB, and returns true if they represent the same GObject.

func (*CookieJarDB) Object

func (recv *CookieJarDB) Object() *gobject.Object

Object upcasts to *Object

func (*CookieJarDB) SessionFeature

func (recv *CookieJarDB) SessionFeature() *SessionFeature

SessionFeature returns the SessionFeature interface implemented by CookieJarDB

func (*CookieJarDB) ToC

func (recv *CookieJarDB) ToC() unsafe.Pointer

type CookieJarDBClass

type CookieJarDBClass struct {
	// contains filtered or unexported fields
}

CookieJarDBClass is a wrapper around the C record SoupCookieJarDBClass.

func CookieJarDBClassNewFromC

func CookieJarDBClassNewFromC(u unsafe.Pointer) *CookieJarDBClass

func (*CookieJarDBClass) Equals

func (recv *CookieJarDBClass) Equals(other *CookieJarDBClass) bool

Equals compares this CookieJarDBClass with another CookieJarDBClass, and returns true if they represent the same GObject.

func (*CookieJarDBClass) ToC

func (recv *CookieJarDBClass) ToC() unsafe.Pointer

type CookieJarSignalChangedCallback

type CookieJarSignalChangedCallback func(targetObject *CookieJar, oldCookie *Cookie, newCookie *Cookie)

CookieJarSignalChangedCallback is a callback function for a 'changed' signal emitted from a CookieJar.

type CookieJarText

type CookieJarText struct {
	// contains filtered or unexported fields
}

CookieJarText is a wrapper around the C record SoupCookieJarText.

func CastToCookieJarText

func CastToCookieJarText(object *gobject.Object) *CookieJarText

CastToWidget down casts any arbitrary Object to CookieJarText. Exercise care, as this is a potentially dangerous function if the Object is not a CookieJarText.

func CookieJarTextNewFromC

func CookieJarTextNewFromC(u unsafe.Pointer) *CookieJarText

func (*CookieJarText) CookieJar

func (recv *CookieJarText) CookieJar() *CookieJar

CookieJar upcasts to *CookieJar

func (*CookieJarText) Equals

func (recv *CookieJarText) Equals(other *CookieJarText) bool

Equals compares this CookieJarText with another CookieJarText, and returns true if they represent the same GObject.

func (*CookieJarText) Object

func (recv *CookieJarText) Object() *gobject.Object

Object upcasts to *Object

func (*CookieJarText) SessionFeature

func (recv *CookieJarText) SessionFeature() *SessionFeature

SessionFeature returns the SessionFeature interface implemented by CookieJarText

func (*CookieJarText) ToC

func (recv *CookieJarText) ToC() unsafe.Pointer

type CookieJarTextClass

type CookieJarTextClass struct {
	// contains filtered or unexported fields
}

CookieJarTextClass is a wrapper around the C record SoupCookieJarTextClass.

func CookieJarTextClassNewFromC

func CookieJarTextClassNewFromC(u unsafe.Pointer) *CookieJarTextClass

func (*CookieJarTextClass) Equals

func (recv *CookieJarTextClass) Equals(other *CookieJarTextClass) bool

Equals compares this CookieJarTextClass with another CookieJarTextClass, and returns true if they represent the same GObject.

func (*CookieJarTextClass) ToC

func (recv *CookieJarTextClass) ToC() unsafe.Pointer

type Date

type Date struct {
	Year   int32
	Month  int32
	Day    int32
	Hour   int32
	Minute int32
	Second int32
	Utc    bool
	Offset int32
	// contains filtered or unexported fields
}

Date is a wrapper around the C record SoupDate.

func DateNew

func DateNew(year int32, month int32, day int32, hour int32, minute int32, second int32) *Date

DateNew is a wrapper around the C function soup_date_new.

func DateNewFromC

func DateNewFromC(u unsafe.Pointer) *Date

func DateNewFromNow

func DateNewFromNow(offsetSeconds int32) *Date

DateNewFromNow is a wrapper around the C function soup_date_new_from_now.

func DateNewFromString

func DateNewFromString(dateString string) *Date

DateNewFromString is a wrapper around the C function soup_date_new_from_string.

func DateNewFromTimeT

func DateNewFromTimeT(when int64) *Date

DateNewFromTimeT is a wrapper around the C function soup_date_new_from_time_t.

func (*Date) Equals

func (recv *Date) Equals(other *Date) bool

Equals compares this Date with another Date, and returns true if they represent the same GObject.

func (*Date) ToC

func (recv *Date) ToC() unsafe.Pointer

func (*Date) ToString

func (recv *Date) ToString(format DateFormat) string

ToString is a wrapper around the C function soup_date_to_string.

func (*Date) ToTimeT

func (recv *Date) ToTimeT() int64

ToTimeT is a wrapper around the C function soup_date_to_time_t.

type DateFormat

type DateFormat C.SoupDateFormat
const (
	SOUP_DATE_HTTP            DateFormat = 1
	SOUP_DATE_COOKIE          DateFormat = 2
	SOUP_DATE_RFC2822         DateFormat = 3
	SOUP_DATE_ISO8601_COMPACT DateFormat = 4
	SOUP_DATE_ISO8601_FULL    DateFormat = 5
	SOUP_DATE_ISO8601         DateFormat = 5
	SOUP_DATE_ISO8601_XMLRPC  DateFormat = 6
)

type Encoding

type Encoding C.SoupEncoding
const (
	SOUP_ENCODING_UNRECOGNIZED   Encoding = 0
	SOUP_ENCODING_NONE           Encoding = 1
	SOUP_ENCODING_CONTENT_LENGTH Encoding = 2
	SOUP_ENCODING_EOF            Encoding = 3
	SOUP_ENCODING_CHUNKED        Encoding = 4
	SOUP_ENCODING_BYTERANGES     Encoding = 5
)

type Expectation

type Expectation C.SoupExpectation
const (
	SOUP_EXPECTATION_UNRECOGNIZED Expectation = 1
	SOUP_EXPECTATION_CONTINUE     Expectation = 2
)

type HTTPVersion

type HTTPVersion C.SoupHTTPVersion
const (
	SOUP_HTTP_1_0 HTTPVersion = 0
	SOUP_HTTP_1_1 HTTPVersion = 1
)

func HeadersParseRequest

func HeadersParseRequest(str string, len int32, reqHeaders *MessageHeaders) (uint32, string, string, HTTPVersion)

HeadersParseRequest is a wrapper around the C function soup_headers_parse_request.

func HeadersParseResponse

func HeadersParseResponse(str string, len int32, headers *MessageHeaders) (bool, HTTPVersion, uint32, string)

HeadersParseResponse is a wrapper around the C function soup_headers_parse_response.

func HeadersParseStatusLine

func HeadersParseStatusLine(statusLine string) (bool, HTTPVersion, uint32, string)

HeadersParseStatusLine is a wrapper around the C function soup_headers_parse_status_line.

type KnownStatusCode

type KnownStatusCode C.SoupKnownStatusCode
const (
	SOUP_KNOWN_STATUS_CODE_NONE                            KnownStatusCode = 0
	SOUP_KNOWN_STATUS_CODE_CANCELLED                       KnownStatusCode = 1
	SOUP_KNOWN_STATUS_CODE_CANT_RESOLVE                    KnownStatusCode = 2
	SOUP_KNOWN_STATUS_CODE_CANT_RESOLVE_PROXY              KnownStatusCode = 3
	SOUP_KNOWN_STATUS_CODE_CANT_CONNECT                    KnownStatusCode = 4
	SOUP_KNOWN_STATUS_CODE_CANT_CONNECT_PROXY              KnownStatusCode = 5
	SOUP_KNOWN_STATUS_CODE_SSL_FAILED                      KnownStatusCode = 6
	SOUP_KNOWN_STATUS_CODE_IO_ERROR                        KnownStatusCode = 7
	SOUP_KNOWN_STATUS_CODE_MALFORMED                       KnownStatusCode = 8
	SOUP_KNOWN_STATUS_CODE_TRY_AGAIN                       KnownStatusCode = 9
	SOUP_KNOWN_STATUS_CODE_TOO_MANY_REDIRECTS              KnownStatusCode = 10
	SOUP_KNOWN_STATUS_CODE_TLS_FAILED                      KnownStatusCode = 11
	SOUP_KNOWN_STATUS_CODE_CONTINUE                        KnownStatusCode = 100
	SOUP_KNOWN_STATUS_CODE_SWITCHING_PROTOCOLS             KnownStatusCode = 101
	SOUP_KNOWN_STATUS_CODE_PROCESSING                      KnownStatusCode = 102
	SOUP_KNOWN_STATUS_CODE_OK                              KnownStatusCode = 200
	SOUP_KNOWN_STATUS_CODE_CREATED                         KnownStatusCode = 201
	SOUP_KNOWN_STATUS_CODE_ACCEPTED                        KnownStatusCode = 202
	SOUP_KNOWN_STATUS_CODE_NON_AUTHORITATIVE               KnownStatusCode = 203
	SOUP_KNOWN_STATUS_CODE_NO_CONTENT                      KnownStatusCode = 204
	SOUP_KNOWN_STATUS_CODE_RESET_CONTENT                   KnownStatusCode = 205
	SOUP_KNOWN_STATUS_CODE_PARTIAL_CONTENT                 KnownStatusCode = 206
	SOUP_KNOWN_STATUS_CODE_MULTI_STATUS                    KnownStatusCode = 207
	SOUP_KNOWN_STATUS_CODE_MULTIPLE_CHOICES                KnownStatusCode = 300
	SOUP_KNOWN_STATUS_CODE_MOVED_PERMANENTLY               KnownStatusCode = 301
	SOUP_KNOWN_STATUS_CODE_FOUND                           KnownStatusCode = 302
	SOUP_KNOWN_STATUS_CODE_MOVED_TEMPORARILY               KnownStatusCode = 302
	SOUP_KNOWN_STATUS_CODE_SEE_OTHER                       KnownStatusCode = 303
	SOUP_KNOWN_STATUS_CODE_NOT_MODIFIED                    KnownStatusCode = 304
	SOUP_KNOWN_STATUS_CODE_USE_PROXY                       KnownStatusCode = 305
	SOUP_KNOWN_STATUS_CODE_NOT_APPEARING_IN_THIS_PROTOCOL  KnownStatusCode = 306
	SOUP_KNOWN_STATUS_CODE_TEMPORARY_REDIRECT              KnownStatusCode = 307
	SOUP_KNOWN_STATUS_CODE_BAD_REQUEST                     KnownStatusCode = 400
	SOUP_KNOWN_STATUS_CODE_UNAUTHORIZED                    KnownStatusCode = 401
	SOUP_KNOWN_STATUS_CODE_PAYMENT_REQUIRED                KnownStatusCode = 402
	SOUP_KNOWN_STATUS_CODE_FORBIDDEN                       KnownStatusCode = 403
	SOUP_KNOWN_STATUS_CODE_NOT_FOUND                       KnownStatusCode = 404
	SOUP_KNOWN_STATUS_CODE_METHOD_NOT_ALLOWED              KnownStatusCode = 405
	SOUP_KNOWN_STATUS_CODE_NOT_ACCEPTABLE                  KnownStatusCode = 406
	SOUP_KNOWN_STATUS_CODE_PROXY_AUTHENTICATION_REQUIRED   KnownStatusCode = 407
	SOUP_KNOWN_STATUS_CODE_PROXY_UNAUTHORIZED              KnownStatusCode = 407
	SOUP_KNOWN_STATUS_CODE_REQUEST_TIMEOUT                 KnownStatusCode = 408
	SOUP_KNOWN_STATUS_CODE_CONFLICT                        KnownStatusCode = 409
	SOUP_KNOWN_STATUS_CODE_GONE                            KnownStatusCode = 410
	SOUP_KNOWN_STATUS_CODE_LENGTH_REQUIRED                 KnownStatusCode = 411
	SOUP_KNOWN_STATUS_CODE_PRECONDITION_FAILED             KnownStatusCode = 412
	SOUP_KNOWN_STATUS_CODE_REQUEST_ENTITY_TOO_LARGE        KnownStatusCode = 413
	SOUP_KNOWN_STATUS_CODE_REQUEST_URI_TOO_LONG            KnownStatusCode = 414
	SOUP_KNOWN_STATUS_CODE_UNSUPPORTED_MEDIA_TYPE          KnownStatusCode = 415
	SOUP_KNOWN_STATUS_CODE_REQUESTED_RANGE_NOT_SATISFIABLE KnownStatusCode = 416
	SOUP_KNOWN_STATUS_CODE_INVALID_RANGE                   KnownStatusCode = 416
	SOUP_KNOWN_STATUS_CODE_EXPECTATION_FAILED              KnownStatusCode = 417
	SOUP_KNOWN_STATUS_CODE_UNPROCESSABLE_ENTITY            KnownStatusCode = 422
	SOUP_KNOWN_STATUS_CODE_LOCKED                          KnownStatusCode = 423
	SOUP_KNOWN_STATUS_CODE_FAILED_DEPENDENCY               KnownStatusCode = 424
	SOUP_KNOWN_STATUS_CODE_INTERNAL_SERVER_ERROR           KnownStatusCode = 500
	SOUP_KNOWN_STATUS_CODE_NOT_IMPLEMENTED                 KnownStatusCode = 501
	SOUP_KNOWN_STATUS_CODE_BAD_GATEWAY                     KnownStatusCode = 502
	SOUP_KNOWN_STATUS_CODE_SERVICE_UNAVAILABLE             KnownStatusCode = 503
	SOUP_KNOWN_STATUS_CODE_GATEWAY_TIMEOUT                 KnownStatusCode = 504
	SOUP_KNOWN_STATUS_CODE_HTTP_VERSION_NOT_SUPPORTED      KnownStatusCode = 505
	SOUP_KNOWN_STATUS_CODE_INSUFFICIENT_STORAGE            KnownStatusCode = 507
	SOUP_KNOWN_STATUS_CODE_NOT_EXTENDED                    KnownStatusCode = 510
)

type Logger

type Logger struct {
	// contains filtered or unexported fields
}

Logger is a wrapper around the C record SoupLogger.

func CastToLogger

func CastToLogger(object *gobject.Object) *Logger

CastToWidget down casts any arbitrary Object to Logger. Exercise care, as this is a potentially dangerous function if the Object is not a Logger.

func LoggerNew

func LoggerNew(level LoggerLogLevel, maxBodySize int32) *Logger

LoggerNew is a wrapper around the C function soup_logger_new.

func LoggerNewFromC

func LoggerNewFromC(u unsafe.Pointer) *Logger

func (*Logger) Attach

func (recv *Logger) Attach(session *Session)

Attach is a wrapper around the C function soup_logger_attach.

func (*Logger) Detach

func (recv *Logger) Detach(session *Session)

Detach is a wrapper around the C function soup_logger_detach.

func (*Logger) Equals

func (recv *Logger) Equals(other *Logger) bool

Equals compares this Logger with another Logger, and returns true if they represent the same GObject.

func (*Logger) Object

func (recv *Logger) Object() *gobject.Object

Object upcasts to *Object

func (*Logger) SessionFeature

func (recv *Logger) SessionFeature() *SessionFeature

SessionFeature returns the SessionFeature interface implemented by Logger

func (*Logger) ToC

func (recv *Logger) ToC() unsafe.Pointer

type LoggerClass

type LoggerClass struct {
	// contains filtered or unexported fields
}

LoggerClass is a wrapper around the C record SoupLoggerClass.

func LoggerClassNewFromC

func LoggerClassNewFromC(u unsafe.Pointer) *LoggerClass

func (*LoggerClass) Equals

func (recv *LoggerClass) Equals(other *LoggerClass) bool

Equals compares this LoggerClass with another LoggerClass, and returns true if they represent the same GObject.

func (*LoggerClass) ToC

func (recv *LoggerClass) ToC() unsafe.Pointer

type LoggerLogLevel

type LoggerLogLevel C.SoupLoggerLogLevel
const (
	SOUP_LOGGER_LOG_NONE    LoggerLogLevel = 0
	SOUP_LOGGER_LOG_MINIMAL LoggerLogLevel = 1
	SOUP_LOGGER_LOG_HEADERS LoggerLogLevel = 2
	SOUP_LOGGER_LOG_BODY    LoggerLogLevel = 3
)

type MemoryUse

type MemoryUse C.SoupMemoryUse
const (
	SOUP_MEMORY_STATIC    MemoryUse = 0
	SOUP_MEMORY_TAKE      MemoryUse = 1
	SOUP_MEMORY_COPY      MemoryUse = 2
	SOUP_MEMORY_TEMPORARY MemoryUse = 3
)

type Message

type Message struct {

	// parent : record
	Method       string
	StatusCode   uint32
	ReasonPhrase string
	// contains filtered or unexported fields
}

Message is a wrapper around the C record SoupMessage.

func CastToMessage

func CastToMessage(object *gobject.Object) *Message

CastToWidget down casts any arbitrary Object to Message. Exercise care, as this is a potentially dangerous function if the Object is not a Message.

func FormRequestNewFromDatalist

func FormRequestNewFromDatalist(method string, uri string, formDataSet *glib.Data) *Message

FormRequestNewFromDatalist is a wrapper around the C function soup_form_request_new_from_datalist.

func FormRequestNewFromHash

func FormRequestNewFromHash(method string, uri string, formDataSet *glib.HashTable) *Message

FormRequestNewFromHash is a wrapper around the C function soup_form_request_new_from_hash.

func MessageNew

func MessageNew(method string, uriString string) *Message

MessageNew is a wrapper around the C function soup_message_new.

func MessageNewFromC

func MessageNewFromC(u unsafe.Pointer) *Message

func MessageNewFromUri

func MessageNewFromUri(method string, uri *URI) *Message

MessageNewFromUri is a wrapper around the C function soup_message_new_from_uri.

func (*Message) ConnectFinished

func (recv *Message) ConnectFinished(callback MessageSignalFinishedCallback) int

ConnectFinished connects the callback to the 'finished' signal for the Message.

The returned value represents the connection, and may be passed to DisconnectFinished to remove it.

func (*Message) ConnectGotBody

func (recv *Message) ConnectGotBody(callback MessageSignalGotBodyCallback) int

ConnectGotBody connects the callback to the 'got-body' signal for the Message.

The returned value represents the connection, and may be passed to DisconnectGotBody to remove it.

func (*Message) ConnectGotChunk

func (recv *Message) ConnectGotChunk(callback MessageSignalGotChunkCallback) int

ConnectGotChunk connects the callback to the 'got-chunk' signal for the Message.

The returned value represents the connection, and may be passed to DisconnectGotChunk to remove it.

func (*Message) ConnectGotHeaders

func (recv *Message) ConnectGotHeaders(callback MessageSignalGotHeadersCallback) int

ConnectGotHeaders connects the callback to the 'got-headers' signal for the Message.

The returned value represents the connection, and may be passed to DisconnectGotHeaders to remove it.

func (*Message) ConnectGotInformational

func (recv *Message) ConnectGotInformational(callback MessageSignalGotInformationalCallback) int

ConnectGotInformational connects the callback to the 'got-informational' signal for the Message.

The returned value represents the connection, and may be passed to DisconnectGotInformational to remove it.

func (*Message) ConnectRestarted

func (recv *Message) ConnectRestarted(callback MessageSignalRestartedCallback) int

ConnectRestarted connects the callback to the 'restarted' signal for the Message.

The returned value represents the connection, and may be passed to DisconnectRestarted to remove it.

func (*Message) ConnectWroteBody

func (recv *Message) ConnectWroteBody(callback MessageSignalWroteBodyCallback) int

ConnectWroteBody connects the callback to the 'wrote-body' signal for the Message.

The returned value represents the connection, and may be passed to DisconnectWroteBody to remove it.

func (*Message) ConnectWroteChunk

func (recv *Message) ConnectWroteChunk(callback MessageSignalWroteChunkCallback) int

ConnectWroteChunk connects the callback to the 'wrote-chunk' signal for the Message.

The returned value represents the connection, and may be passed to DisconnectWroteChunk to remove it.

func (*Message) ConnectWroteHeaders

func (recv *Message) ConnectWroteHeaders(callback MessageSignalWroteHeadersCallback) int

ConnectWroteHeaders connects the callback to the 'wrote-headers' signal for the Message.

The returned value represents the connection, and may be passed to DisconnectWroteHeaders to remove it.

func (*Message) ConnectWroteInformational

func (recv *Message) ConnectWroteInformational(callback MessageSignalWroteInformationalCallback) int

ConnectWroteInformational connects the callback to the 'wrote-informational' signal for the Message.

The returned value represents the connection, and may be passed to DisconnectWroteInformational to remove it.

func (*Message) ContentSniffed

func (recv *Message) ContentSniffed(contentType string, params *glib.HashTable)

ContentSniffed is a wrapper around the C function soup_message_content_sniffed.

func (*Message) DisconnectFinished

func (recv *Message) DisconnectFinished(connectionID int)

DisconnectFinished disconnects a callback from the 'finished' signal for the Message.

The connectionID should be a value returned from a call to ConnectFinished.

func (*Message) DisconnectGotBody

func (recv *Message) DisconnectGotBody(connectionID int)

DisconnectGotBody disconnects a callback from the 'got-body' signal for the Message.

The connectionID should be a value returned from a call to ConnectGotBody.

func (*Message) DisconnectGotChunk

func (recv *Message) DisconnectGotChunk(connectionID int)

DisconnectGotChunk disconnects a callback from the 'got-chunk' signal for the Message.

The connectionID should be a value returned from a call to ConnectGotChunk.

func (*Message) DisconnectGotHeaders

func (recv *Message) DisconnectGotHeaders(connectionID int)

DisconnectGotHeaders disconnects a callback from the 'got-headers' signal for the Message.

The connectionID should be a value returned from a call to ConnectGotHeaders.

func (*Message) DisconnectGotInformational

func (recv *Message) DisconnectGotInformational(connectionID int)

DisconnectGotInformational disconnects a callback from the 'got-informational' signal for the Message.

The connectionID should be a value returned from a call to ConnectGotInformational.

func (*Message) DisconnectRestarted

func (recv *Message) DisconnectRestarted(connectionID int)

DisconnectRestarted disconnects a callback from the 'restarted' signal for the Message.

The connectionID should be a value returned from a call to ConnectRestarted.

func (*Message) DisconnectWroteBody

func (recv *Message) DisconnectWroteBody(connectionID int)

DisconnectWroteBody disconnects a callback from the 'wrote-body' signal for the Message.

The connectionID should be a value returned from a call to ConnectWroteBody.

func (*Message) DisconnectWroteChunk

func (recv *Message) DisconnectWroteChunk(connectionID int)

DisconnectWroteChunk disconnects a callback from the 'wrote-chunk' signal for the Message.

The connectionID should be a value returned from a call to ConnectWroteChunk.

func (*Message) DisconnectWroteHeaders

func (recv *Message) DisconnectWroteHeaders(connectionID int)

DisconnectWroteHeaders disconnects a callback from the 'wrote-headers' signal for the Message.

The connectionID should be a value returned from a call to ConnectWroteHeaders.

func (*Message) DisconnectWroteInformational

func (recv *Message) DisconnectWroteInformational(connectionID int)

DisconnectWroteInformational disconnects a callback from the 'wrote-informational' signal for the Message.

The connectionID should be a value returned from a call to ConnectWroteInformational.

func (*Message) Equals

func (recv *Message) Equals(other *Message) bool

Equals compares this Message with another Message, and returns true if they represent the same GObject.

func (*Message) Finished

func (recv *Message) Finished()

Finished is a wrapper around the C function soup_message_finished.

func (*Message) GetFlags

func (recv *Message) GetFlags() MessageFlags

GetFlags is a wrapper around the C function soup_message_get_flags.

func (*Message) GetHttpVersion

func (recv *Message) GetHttpVersion() HTTPVersion

GetHttpVersion is a wrapper around the C function soup_message_get_http_version.

func (*Message) GetUri

func (recv *Message) GetUri() *URI

GetUri is a wrapper around the C function soup_message_get_uri.

func (*Message) GotBody

func (recv *Message) GotBody()

GotBody is a wrapper around the C function soup_message_got_body.

func (*Message) GotChunk

func (recv *Message) GotChunk(chunk *Buffer)

GotChunk is a wrapper around the C function soup_message_got_chunk.

func (*Message) GotHeaders

func (recv *Message) GotHeaders()

GotHeaders is a wrapper around the C function soup_message_got_headers.

func (*Message) GotInformational

func (recv *Message) GotInformational()

GotInformational is a wrapper around the C function soup_message_got_informational.

func (*Message) IsKeepalive

func (recv *Message) IsKeepalive() bool

IsKeepalive is a wrapper around the C function soup_message_is_keepalive.

func (*Message) Object

func (recv *Message) Object() *gobject.Object

Object upcasts to *Object

func (*Message) Restarted

func (recv *Message) Restarted()

Restarted is a wrapper around the C function soup_message_restarted.

func (*Message) SetFlags

func (recv *Message) SetFlags(flags MessageFlags)

SetFlags is a wrapper around the C function soup_message_set_flags.

func (*Message) SetHttpVersion

func (recv *Message) SetHttpVersion(version HTTPVersion)

SetHttpVersion is a wrapper around the C function soup_message_set_http_version.

func (*Message) SetRequest

func (recv *Message) SetRequest(contentType string, reqUse MemoryUse, reqBody []uint8)

SetRequest is a wrapper around the C function soup_message_set_request.

func (*Message) SetResponse

func (recv *Message) SetResponse(contentType string, respUse MemoryUse, respBody []uint8)

SetResponse is a wrapper around the C function soup_message_set_response.

func (*Message) SetStatus

func (recv *Message) SetStatus(statusCode uint32)

SetStatus is a wrapper around the C function soup_message_set_status.

func (*Message) SetStatusFull

func (recv *Message) SetStatusFull(statusCode uint32, reasonPhrase string)

SetStatusFull is a wrapper around the C function soup_message_set_status_full.

func (*Message) SetUri

func (recv *Message) SetUri(uri *URI)

SetUri is a wrapper around the C function soup_message_set_uri.

func (*Message) Starting

func (recv *Message) Starting()

Starting is a wrapper around the C function soup_message_starting.

func (*Message) ToC

func (recv *Message) ToC() unsafe.Pointer

func (*Message) WroteBody

func (recv *Message) WroteBody()

WroteBody is a wrapper around the C function soup_message_wrote_body.

func (*Message) WroteBodyData

func (recv *Message) WroteBodyData(chunk *Buffer)

WroteBodyData is a wrapper around the C function soup_message_wrote_body_data.

func (*Message) WroteChunk

func (recv *Message) WroteChunk()

WroteChunk is a wrapper around the C function soup_message_wrote_chunk.

func (*Message) WroteHeaders

func (recv *Message) WroteHeaders()

WroteHeaders is a wrapper around the C function soup_message_wrote_headers.

func (*Message) WroteInformational

func (recv *Message) WroteInformational()

WroteInformational is a wrapper around the C function soup_message_wrote_informational.

type MessageBody

type MessageBody struct {
	Data   string
	Length int64
	// contains filtered or unexported fields
}

MessageBody is a wrapper around the C record SoupMessageBody.

func MessageBodyNew

func MessageBodyNew() *MessageBody

MessageBodyNew is a wrapper around the C function soup_message_body_new.

func MessageBodyNewFromC

func MessageBodyNewFromC(u unsafe.Pointer) *MessageBody

func (*MessageBody) Append

func (recv *MessageBody) Append(use MemoryUse, data []uint8)

Append is a wrapper around the C function soup_message_body_append.

func (*MessageBody) AppendBuffer

func (recv *MessageBody) AppendBuffer(buffer *Buffer)

AppendBuffer is a wrapper around the C function soup_message_body_append_buffer.

func (*MessageBody) Complete

func (recv *MessageBody) Complete()

Complete is a wrapper around the C function soup_message_body_complete.

func (*MessageBody) Equals

func (recv *MessageBody) Equals(other *MessageBody) bool

Equals compares this MessageBody with another MessageBody, and returns true if they represent the same GObject.

func (*MessageBody) Flatten

func (recv *MessageBody) Flatten() *Buffer

Flatten is a wrapper around the C function soup_message_body_flatten.

func (*MessageBody) Free

func (recv *MessageBody) Free()

Free is a wrapper around the C function soup_message_body_free.

func (*MessageBody) GetChunk

func (recv *MessageBody) GetChunk(offset int64) *Buffer

GetChunk is a wrapper around the C function soup_message_body_get_chunk.

func (*MessageBody) ToC

func (recv *MessageBody) ToC() unsafe.Pointer

func (*MessageBody) Truncate

func (recv *MessageBody) Truncate()

Truncate is a wrapper around the C function soup_message_body_truncate.

type MessageClass

type MessageClass struct {
	// contains filtered or unexported fields
}

MessageClass is a wrapper around the C record SoupMessageClass.

func MessageClassNewFromC

func MessageClassNewFromC(u unsafe.Pointer) *MessageClass

func (*MessageClass) Equals

func (recv *MessageClass) Equals(other *MessageClass) bool

Equals compares this MessageClass with another MessageClass, and returns true if they represent the same GObject.

func (*MessageClass) ToC

func (recv *MessageClass) ToC() unsafe.Pointer

type MessageFlags

type MessageFlags C.SoupMessageFlags
const (
	SOUP_MESSAGE_NO_REDIRECT              MessageFlags = 2
	SOUP_MESSAGE_CAN_REBUILD              MessageFlags = 4
	SOUP_MESSAGE_OVERWRITE_CHUNKS         MessageFlags = 8
	SOUP_MESSAGE_CONTENT_DECODED          MessageFlags = 16
	SOUP_MESSAGE_CERTIFICATE_TRUSTED      MessageFlags = 32
	SOUP_MESSAGE_NEW_CONNECTION           MessageFlags = 64
	SOUP_MESSAGE_IDEMPOTENT               MessageFlags = 128
	SOUP_MESSAGE_IGNORE_CONNECTION_LIMITS MessageFlags = 256
	SOUP_MESSAGE_DO_NOT_USE_AUTH_CACHE    MessageFlags = 512
)

type MessageHeaders

type MessageHeaders struct {
	// contains filtered or unexported fields
}

MessageHeaders is a wrapper around the C record SoupMessageHeaders.

func MessageHeadersNew

func MessageHeadersNew(type_ MessageHeadersType) *MessageHeaders

MessageHeadersNew is a wrapper around the C function soup_message_headers_new.

func MessageHeadersNewFromC

func MessageHeadersNewFromC(u unsafe.Pointer) *MessageHeaders

func (*MessageHeaders) Append

func (recv *MessageHeaders) Append(name string, value string)

Append is a wrapper around the C function soup_message_headers_append.

func (*MessageHeaders) Clear

func (recv *MessageHeaders) Clear()

Clear is a wrapper around the C function soup_message_headers_clear.

func (*MessageHeaders) Equals

func (recv *MessageHeaders) Equals(other *MessageHeaders) bool

Equals compares this MessageHeaders with another MessageHeaders, and returns true if they represent the same GObject.

func (*MessageHeaders) Free

func (recv *MessageHeaders) Free()

Free is a wrapper around the C function soup_message_headers_free.

func (*MessageHeaders) Get

func (recv *MessageHeaders) Get(name string) string

Get is a wrapper around the C function soup_message_headers_get.

func (*MessageHeaders) GetContentLength

func (recv *MessageHeaders) GetContentLength() int64

GetContentLength is a wrapper around the C function soup_message_headers_get_content_length.

func (*MessageHeaders) GetEncoding

func (recv *MessageHeaders) GetEncoding() Encoding

GetEncoding is a wrapper around the C function soup_message_headers_get_encoding.

func (*MessageHeaders) GetExpectations

func (recv *MessageHeaders) GetExpectations() Expectation

GetExpectations is a wrapper around the C function soup_message_headers_get_expectations.

func (*MessageHeaders) Remove

func (recv *MessageHeaders) Remove(name string)

Remove is a wrapper around the C function soup_message_headers_remove.

func (*MessageHeaders) Replace

func (recv *MessageHeaders) Replace(name string, value string)

Replace is a wrapper around the C function soup_message_headers_replace.

func (*MessageHeaders) SetContentLength

func (recv *MessageHeaders) SetContentLength(contentLength int64)

SetContentLength is a wrapper around the C function soup_message_headers_set_content_length.

func (*MessageHeaders) SetEncoding

func (recv *MessageHeaders) SetEncoding(encoding Encoding)

SetEncoding is a wrapper around the C function soup_message_headers_set_encoding.

func (*MessageHeaders) SetExpectations

func (recv *MessageHeaders) SetExpectations(expectations Expectation)

SetExpectations is a wrapper around the C function soup_message_headers_set_expectations.

func (*MessageHeaders) ToC

func (recv *MessageHeaders) ToC() unsafe.Pointer

type MessageHeadersIter

type MessageHeadersIter struct {
	// contains filtered or unexported fields
}

MessageHeadersIter is a wrapper around the C record SoupMessageHeadersIter.

func MessageHeadersIterInit

func MessageHeadersIterInit(hdrs *MessageHeaders) *MessageHeadersIter

MessageHeadersIterInit is a wrapper around the C function soup_message_headers_iter_init.

func MessageHeadersIterNewFromC

func MessageHeadersIterNewFromC(u unsafe.Pointer) *MessageHeadersIter

func (*MessageHeadersIter) Equals

func (recv *MessageHeadersIter) Equals(other *MessageHeadersIter) bool

Equals compares this MessageHeadersIter with another MessageHeadersIter, and returns true if they represent the same GObject.

func (*MessageHeadersIter) Next

func (recv *MessageHeadersIter) Next() (bool, string, string)

Next is a wrapper around the C function soup_message_headers_iter_next.

func (*MessageHeadersIter) ToC

func (recv *MessageHeadersIter) ToC() unsafe.Pointer

type MessageHeadersType

type MessageHeadersType C.SoupMessageHeadersType
const (
	SOUP_MESSAGE_HEADERS_REQUEST   MessageHeadersType = 0
	SOUP_MESSAGE_HEADERS_RESPONSE  MessageHeadersType = 1
	SOUP_MESSAGE_HEADERS_MULTIPART MessageHeadersType = 2
)

type MessagePriority

type MessagePriority C.SoupMessagePriority
const (
	SOUP_MESSAGE_PRIORITY_VERY_LOW  MessagePriority = 0
	SOUP_MESSAGE_PRIORITY_LOW       MessagePriority = 1
	SOUP_MESSAGE_PRIORITY_NORMAL    MessagePriority = 2
	SOUP_MESSAGE_PRIORITY_HIGH      MessagePriority = 3
	SOUP_MESSAGE_PRIORITY_VERY_HIGH MessagePriority = 4
)

type MessageQueue

type MessageQueue struct {
	// contains filtered or unexported fields
}

MessageQueue is a wrapper around the C record SoupMessageQueue.

func MessageQueueNewFromC

func MessageQueueNewFromC(u unsafe.Pointer) *MessageQueue

func (*MessageQueue) Equals

func (recv *MessageQueue) Equals(other *MessageQueue) bool

Equals compares this MessageQueue with another MessageQueue, and returns true if they represent the same GObject.

func (*MessageQueue) ToC

func (recv *MessageQueue) ToC() unsafe.Pointer

type MessageQueueItem

type MessageQueueItem struct {
	// contains filtered or unexported fields
}

MessageQueueItem is a wrapper around the C record SoupMessageQueueItem.

func MessageQueueItemNewFromC

func MessageQueueItemNewFromC(u unsafe.Pointer) *MessageQueueItem

func (*MessageQueueItem) Equals

func (recv *MessageQueueItem) Equals(other *MessageQueueItem) bool

Equals compares this MessageQueueItem with another MessageQueueItem, and returns true if they represent the same GObject.

func (*MessageQueueItem) ToC

func (recv *MessageQueueItem) ToC() unsafe.Pointer

type MessageSignalFinishedCallback

type MessageSignalFinishedCallback func(targetObject *Message)

MessageSignalFinishedCallback is a callback function for a 'finished' signal emitted from a Message.

type MessageSignalGotBodyCallback

type MessageSignalGotBodyCallback func(targetObject *Message)

MessageSignalGotBodyCallback is a callback function for a 'got-body' signal emitted from a Message.

type MessageSignalGotChunkCallback

type MessageSignalGotChunkCallback func(targetObject *Message, chunk *Buffer)

MessageSignalGotChunkCallback is a callback function for a 'got-chunk' signal emitted from a Message.

type MessageSignalGotHeadersCallback

type MessageSignalGotHeadersCallback func(targetObject *Message)

MessageSignalGotHeadersCallback is a callback function for a 'got-headers' signal emitted from a Message.

type MessageSignalGotInformationalCallback

type MessageSignalGotInformationalCallback func(targetObject *Message)

MessageSignalGotInformationalCallback is a callback function for a 'got-informational' signal emitted from a Message.

type MessageSignalRestartedCallback

type MessageSignalRestartedCallback func(targetObject *Message)

MessageSignalRestartedCallback is a callback function for a 'restarted' signal emitted from a Message.

type MessageSignalWroteBodyCallback

type MessageSignalWroteBodyCallback func(targetObject *Message)

MessageSignalWroteBodyCallback is a callback function for a 'wrote-body' signal emitted from a Message.

type MessageSignalWroteChunkCallback

type MessageSignalWroteChunkCallback func(targetObject *Message)

MessageSignalWroteChunkCallback is a callback function for a 'wrote-chunk' signal emitted from a Message.

type MessageSignalWroteHeadersCallback

type MessageSignalWroteHeadersCallback func(targetObject *Message)

MessageSignalWroteHeadersCallback is a callback function for a 'wrote-headers' signal emitted from a Message.

type MessageSignalWroteInformationalCallback

type MessageSignalWroteInformationalCallback func(targetObject *Message)

MessageSignalWroteInformationalCallback is a callback function for a 'wrote-informational' signal emitted from a Message.

type MultipartInputStream

type MultipartInputStream struct {
	// contains filtered or unexported fields
}

MultipartInputStream is a wrapper around the C record SoupMultipartInputStream.

func CastToMultipartInputStream

func CastToMultipartInputStream(object *gobject.Object) *MultipartInputStream

CastToWidget down casts any arbitrary Object to MultipartInputStream. Exercise care, as this is a potentially dangerous function if the Object is not a MultipartInputStream.

func MultipartInputStreamNewFromC

func MultipartInputStreamNewFromC(u unsafe.Pointer) *MultipartInputStream

func (*MultipartInputStream) Equals

func (recv *MultipartInputStream) Equals(other *MultipartInputStream) bool

Equals compares this MultipartInputStream with another MultipartInputStream, and returns true if they represent the same GObject.

func (*MultipartInputStream) FilterInputStream

func (recv *MultipartInputStream) FilterInputStream() *gio.FilterInputStream

FilterInputStream upcasts to *FilterInputStream

func (*MultipartInputStream) InputStream

func (recv *MultipartInputStream) InputStream() *gio.InputStream

InputStream upcasts to *InputStream

func (*MultipartInputStream) Object

func (recv *MultipartInputStream) Object() *gobject.Object

Object upcasts to *Object

func (*MultipartInputStream) PollableInputStream

func (recv *MultipartInputStream) PollableInputStream() *gio.PollableInputStream

PollableInputStream returns the PollableInputStream interface implemented by MultipartInputStream

func (*MultipartInputStream) ToC

func (recv *MultipartInputStream) ToC() unsafe.Pointer

type MultipartInputStreamClass

type MultipartInputStreamClass struct {
	// contains filtered or unexported fields
}

MultipartInputStreamClass is a wrapper around the C record SoupMultipartInputStreamClass.

func MultipartInputStreamClassNewFromC

func MultipartInputStreamClassNewFromC(u unsafe.Pointer) *MultipartInputStreamClass

func (*MultipartInputStreamClass) Equals

Equals compares this MultipartInputStreamClass with another MultipartInputStreamClass, and returns true if they represent the same GObject.

func (*MultipartInputStreamClass) ToC

type MultipartInputStreamPrivate

type MultipartInputStreamPrivate struct {
	// contains filtered or unexported fields
}

MultipartInputStreamPrivate is a wrapper around the C record SoupMultipartInputStreamPrivate.

func MultipartInputStreamPrivateNewFromC

func MultipartInputStreamPrivateNewFromC(u unsafe.Pointer) *MultipartInputStreamPrivate

func (*MultipartInputStreamPrivate) Equals

Equals compares this MultipartInputStreamPrivate with another MultipartInputStreamPrivate, and returns true if they represent the same GObject.

func (*MultipartInputStreamPrivate) ToC

type PasswordManager

type PasswordManager struct {
	// contains filtered or unexported fields
}

PasswordManager is a wrapper around the C record SoupPasswordManager.

func PasswordManagerNewFromC

func PasswordManagerNewFromC(u unsafe.Pointer) *PasswordManager

func (*PasswordManager) Equals

func (recv *PasswordManager) Equals(other *PasswordManager) bool

Equals compares this PasswordManager with another PasswordManager, and returns true if they represent the same GObject.

func (*PasswordManager) GetPasswordsSync

func (recv *PasswordManager) GetPasswordsSync(msg *Message, auth *Auth, cancellable *gio.Cancellable)

GetPasswordsSync is a wrapper around the C function soup_password_manager_get_passwords_sync.

func (*PasswordManager) ToC

func (recv *PasswordManager) ToC() unsafe.Pointer

type PasswordManagerInterface

type PasswordManagerInterface struct {
	// contains filtered or unexported fields
}

PasswordManagerInterface is a wrapper around the C record SoupPasswordManagerInterface.

func PasswordManagerInterfaceNewFromC

func PasswordManagerInterfaceNewFromC(u unsafe.Pointer) *PasswordManagerInterface

func (*PasswordManagerInterface) Equals

Equals compares this PasswordManagerInterface with another PasswordManagerInterface, and returns true if they represent the same GObject.

func (*PasswordManagerInterface) ToC

type ProxyResolverDefault

type ProxyResolverDefault struct {
	// contains filtered or unexported fields
}

ProxyResolverDefault is a wrapper around the C record SoupProxyResolverDefault.

func CastToProxyResolverDefault

func CastToProxyResolverDefault(object *gobject.Object) *ProxyResolverDefault

CastToWidget down casts any arbitrary Object to ProxyResolverDefault. Exercise care, as this is a potentially dangerous function if the Object is not a ProxyResolverDefault.

func ProxyResolverDefaultNewFromC

func ProxyResolverDefaultNewFromC(u unsafe.Pointer) *ProxyResolverDefault

func (*ProxyResolverDefault) Equals

func (recv *ProxyResolverDefault) Equals(other *ProxyResolverDefault) bool

Equals compares this ProxyResolverDefault with another ProxyResolverDefault, and returns true if they represent the same GObject.

func (*ProxyResolverDefault) Object

func (recv *ProxyResolverDefault) Object() *gobject.Object

Object upcasts to *Object

func (*ProxyResolverDefault) ProxyURIResolver

func (recv *ProxyResolverDefault) ProxyURIResolver() *ProxyURIResolver

ProxyURIResolver returns the ProxyURIResolver interface implemented by ProxyResolverDefault

func (*ProxyResolverDefault) SessionFeature

func (recv *ProxyResolverDefault) SessionFeature() *SessionFeature

SessionFeature returns the SessionFeature interface implemented by ProxyResolverDefault

func (*ProxyResolverDefault) ToC

func (recv *ProxyResolverDefault) ToC() unsafe.Pointer

type ProxyResolverDefaultClass

type ProxyResolverDefaultClass struct {
	// contains filtered or unexported fields
}

ProxyResolverDefaultClass is a wrapper around the C record SoupProxyResolverDefaultClass.

func ProxyResolverDefaultClassNewFromC

func ProxyResolverDefaultClassNewFromC(u unsafe.Pointer) *ProxyResolverDefaultClass

func (*ProxyResolverDefaultClass) Equals

Equals compares this ProxyResolverDefaultClass with another ProxyResolverDefaultClass, and returns true if they represent the same GObject.

func (*ProxyResolverDefaultClass) ToC

type ProxyURIResolver

type ProxyURIResolver struct {
	// contains filtered or unexported fields
}

ProxyURIResolver is a wrapper around the C record SoupProxyURIResolver.

func ProxyURIResolverNewFromC

func ProxyURIResolverNewFromC(u unsafe.Pointer) *ProxyURIResolver

func (*ProxyURIResolver) Equals

func (recv *ProxyURIResolver) Equals(other *ProxyURIResolver) bool

Equals compares this ProxyURIResolver with another ProxyURIResolver, and returns true if they represent the same GObject.

func (*ProxyURIResolver) ToC

func (recv *ProxyURIResolver) ToC() unsafe.Pointer

type ProxyURIResolverInterface

type ProxyURIResolverInterface struct {
	// contains filtered or unexported fields
}

ProxyURIResolverInterface is a wrapper around the C record SoupProxyURIResolverInterface.

func ProxyURIResolverInterfaceNewFromC

func ProxyURIResolverInterfaceNewFromC(u unsafe.Pointer) *ProxyURIResolverInterface

func (*ProxyURIResolverInterface) Equals

Equals compares this ProxyURIResolverInterface with another ProxyURIResolverInterface, and returns true if they represent the same GObject.

func (*ProxyURIResolverInterface) ToC

type RequestData

type RequestData struct {
	// contains filtered or unexported fields
}

RequestData is a wrapper around the C record SoupRequestData.

func CastToRequestData

func CastToRequestData(object *gobject.Object) *RequestData

CastToWidget down casts any arbitrary Object to RequestData. Exercise care, as this is a potentially dangerous function if the Object is not a RequestData.

func RequestDataNewFromC

func RequestDataNewFromC(u unsafe.Pointer) *RequestData

func (*RequestData) Equals

func (recv *RequestData) Equals(other *RequestData) bool

Equals compares this RequestData with another RequestData, and returns true if they represent the same GObject.

func (*RequestData) Initable

func (recv *RequestData) Initable() *gio.Initable

Initable returns the Initable interface implemented by RequestData

func (*RequestData) Object

func (recv *RequestData) Object() *gobject.Object

Object upcasts to *Object

func (*RequestData) Request

func (recv *RequestData) Request() *Request

Request upcasts to *Request

func (*RequestData) ToC

func (recv *RequestData) ToC() unsafe.Pointer

type RequestDataClass

type RequestDataClass struct {
	// contains filtered or unexported fields
}

RequestDataClass is a wrapper around the C record SoupRequestDataClass.

func RequestDataClassNewFromC

func RequestDataClassNewFromC(u unsafe.Pointer) *RequestDataClass

func (*RequestDataClass) Equals

func (recv *RequestDataClass) Equals(other *RequestDataClass) bool

Equals compares this RequestDataClass with another RequestDataClass, and returns true if they represent the same GObject.

func (*RequestDataClass) ToC

func (recv *RequestDataClass) ToC() unsafe.Pointer

type RequestDataPrivate

type RequestDataPrivate struct {
	// contains filtered or unexported fields
}

RequestDataPrivate is a wrapper around the C record SoupRequestDataPrivate.

func RequestDataPrivateNewFromC

func RequestDataPrivateNewFromC(u unsafe.Pointer) *RequestDataPrivate

func (*RequestDataPrivate) Equals

func (recv *RequestDataPrivate) Equals(other *RequestDataPrivate) bool

Equals compares this RequestDataPrivate with another RequestDataPrivate, and returns true if they represent the same GObject.

func (*RequestDataPrivate) ToC

func (recv *RequestDataPrivate) ToC() unsafe.Pointer

type RequestFile

type RequestFile struct {
	// contains filtered or unexported fields
}

RequestFile is a wrapper around the C record SoupRequestFile.

func CastToRequestFile

func CastToRequestFile(object *gobject.Object) *RequestFile

CastToWidget down casts any arbitrary Object to RequestFile. Exercise care, as this is a potentially dangerous function if the Object is not a RequestFile.

func RequestFileNewFromC

func RequestFileNewFromC(u unsafe.Pointer) *RequestFile

func (*RequestFile) Equals

func (recv *RequestFile) Equals(other *RequestFile) bool

Equals compares this RequestFile with another RequestFile, and returns true if they represent the same GObject.

func (*RequestFile) Initable

func (recv *RequestFile) Initable() *gio.Initable

Initable returns the Initable interface implemented by RequestFile

func (*RequestFile) Object

func (recv *RequestFile) Object() *gobject.Object

Object upcasts to *Object

func (*RequestFile) Request

func (recv *RequestFile) Request() *Request

Request upcasts to *Request

func (*RequestFile) ToC

func (recv *RequestFile) ToC() unsafe.Pointer

type RequestFileClass

type RequestFileClass struct {
	// contains filtered or unexported fields
}

RequestFileClass is a wrapper around the C record SoupRequestFileClass.

func RequestFileClassNewFromC

func RequestFileClassNewFromC(u unsafe.Pointer) *RequestFileClass

func (*RequestFileClass) Equals

func (recv *RequestFileClass) Equals(other *RequestFileClass) bool

Equals compares this RequestFileClass with another RequestFileClass, and returns true if they represent the same GObject.

func (*RequestFileClass) ToC

func (recv *RequestFileClass) ToC() unsafe.Pointer

type RequestFilePrivate

type RequestFilePrivate struct {
	// contains filtered or unexported fields
}

RequestFilePrivate is a wrapper around the C record SoupRequestFilePrivate.

func RequestFilePrivateNewFromC

func RequestFilePrivateNewFromC(u unsafe.Pointer) *RequestFilePrivate

func (*RequestFilePrivate) Equals

func (recv *RequestFilePrivate) Equals(other *RequestFilePrivate) bool

Equals compares this RequestFilePrivate with another RequestFilePrivate, and returns true if they represent the same GObject.

func (*RequestFilePrivate) ToC

func (recv *RequestFilePrivate) ToC() unsafe.Pointer

type RequestHTTP

type RequestHTTP struct {
	// contains filtered or unexported fields
}

RequestHTTP is a wrapper around the C record SoupRequestHTTP.

func CastToRequestHTTP

func CastToRequestHTTP(object *gobject.Object) *RequestHTTP

CastToWidget down casts any arbitrary Object to RequestHTTP. Exercise care, as this is a potentially dangerous function if the Object is not a RequestHTTP.

func RequestHTTPNewFromC

func RequestHTTPNewFromC(u unsafe.Pointer) *RequestHTTP

func (*RequestHTTP) Equals

func (recv *RequestHTTP) Equals(other *RequestHTTP) bool

Equals compares this RequestHTTP with another RequestHTTP, and returns true if they represent the same GObject.

func (*RequestHTTP) Initable

func (recv *RequestHTTP) Initable() *gio.Initable

Initable returns the Initable interface implemented by RequestHTTP

func (*RequestHTTP) Object

func (recv *RequestHTTP) Object() *gobject.Object

Object upcasts to *Object

func (*RequestHTTP) Request

func (recv *RequestHTTP) Request() *Request

Request upcasts to *Request

func (*RequestHTTP) ToC

func (recv *RequestHTTP) ToC() unsafe.Pointer

type RequestHTTPClass

type RequestHTTPClass struct {
	// contains filtered or unexported fields
}

RequestHTTPClass is a wrapper around the C record SoupRequestHTTPClass.

func RequestHTTPClassNewFromC

func RequestHTTPClassNewFromC(u unsafe.Pointer) *RequestHTTPClass

func (*RequestHTTPClass) Equals

func (recv *RequestHTTPClass) Equals(other *RequestHTTPClass) bool

Equals compares this RequestHTTPClass with another RequestHTTPClass, and returns true if they represent the same GObject.

func (*RequestHTTPClass) ToC

func (recv *RequestHTTPClass) ToC() unsafe.Pointer

type RequestHTTPPrivate

type RequestHTTPPrivate struct {
	// contains filtered or unexported fields
}

RequestHTTPPrivate is a wrapper around the C record SoupRequestHTTPPrivate.

func RequestHTTPPrivateNewFromC

func RequestHTTPPrivateNewFromC(u unsafe.Pointer) *RequestHTTPPrivate

func (*RequestHTTPPrivate) Equals

func (recv *RequestHTTPPrivate) Equals(other *RequestHTTPPrivate) bool

Equals compares this RequestHTTPPrivate with another RequestHTTPPrivate, and returns true if they represent the same GObject.

func (*RequestHTTPPrivate) ToC

func (recv *RequestHTTPPrivate) ToC() unsafe.Pointer

type RequestPrivate

type RequestPrivate struct {
	// contains filtered or unexported fields
}

RequestPrivate is a wrapper around the C record SoupRequestPrivate.

func RequestPrivateNewFromC

func RequestPrivateNewFromC(u unsafe.Pointer) *RequestPrivate

func (*RequestPrivate) Equals

func (recv *RequestPrivate) Equals(other *RequestPrivate) bool

Equals compares this RequestPrivate with another RequestPrivate, and returns true if they represent the same GObject.

func (*RequestPrivate) ToC

func (recv *RequestPrivate) ToC() unsafe.Pointer

type Server

type Server struct {
	// contains filtered or unexported fields
}

Server is a wrapper around the C record SoupServer.

func CastToServer

func CastToServer(object *gobject.Object) *Server

CastToWidget down casts any arbitrary Object to Server. Exercise care, as this is a potentially dangerous function if the Object is not a Server.

func ServerNewFromC

func ServerNewFromC(u unsafe.Pointer) *Server

func (*Server) AddAuthDomain

func (recv *Server) AddAuthDomain(authDomain *AuthDomain)

AddAuthDomain is a wrapper around the C function soup_server_add_auth_domain.

func (*Server) ConnectRequestAborted

func (recv *Server) ConnectRequestAborted(callback ServerSignalRequestAbortedCallback) int

ConnectRequestAborted connects the callback to the 'request-aborted' signal for the Server.

The returned value represents the connection, and may be passed to DisconnectRequestAborted to remove it.

func (*Server) ConnectRequestFinished

func (recv *Server) ConnectRequestFinished(callback ServerSignalRequestFinishedCallback) int

ConnectRequestFinished connects the callback to the 'request-finished' signal for the Server.

The returned value represents the connection, and may be passed to DisconnectRequestFinished to remove it.

func (*Server) ConnectRequestRead

func (recv *Server) ConnectRequestRead(callback ServerSignalRequestReadCallback) int

ConnectRequestRead connects the callback to the 'request-read' signal for the Server.

The returned value represents the connection, and may be passed to DisconnectRequestRead to remove it.

func (*Server) ConnectRequestStarted

func (recv *Server) ConnectRequestStarted(callback ServerSignalRequestStartedCallback) int

ConnectRequestStarted connects the callback to the 'request-started' signal for the Server.

The returned value represents the connection, and may be passed to DisconnectRequestStarted to remove it.

func (*Server) Disconnect

func (recv *Server) Disconnect()

Disconnect is a wrapper around the C function soup_server_disconnect.

func (*Server) DisconnectRequestAborted

func (recv *Server) DisconnectRequestAborted(connectionID int)

DisconnectRequestAborted disconnects a callback from the 'request-aborted' signal for the Server.

The connectionID should be a value returned from a call to ConnectRequestAborted.

func (*Server) DisconnectRequestFinished

func (recv *Server) DisconnectRequestFinished(connectionID int)

DisconnectRequestFinished disconnects a callback from the 'request-finished' signal for the Server.

The connectionID should be a value returned from a call to ConnectRequestFinished.

func (*Server) DisconnectRequestRead

func (recv *Server) DisconnectRequestRead(connectionID int)

DisconnectRequestRead disconnects a callback from the 'request-read' signal for the Server.

The connectionID should be a value returned from a call to ConnectRequestRead.

func (*Server) DisconnectRequestStarted

func (recv *Server) DisconnectRequestStarted(connectionID int)

DisconnectRequestStarted disconnects a callback from the 'request-started' signal for the Server.

The connectionID should be a value returned from a call to ConnectRequestStarted.

func (*Server) Equals

func (recv *Server) Equals(other *Server) bool

Equals compares this Server with another Server, and returns true if they represent the same GObject.

func (*Server) GetAsyncContext

func (recv *Server) GetAsyncContext() *glib.MainContext

GetAsyncContext is a wrapper around the C function soup_server_get_async_context.

func (*Server) GetListener

func (recv *Server) GetListener() *Socket

GetListener is a wrapper around the C function soup_server_get_listener.

func (*Server) GetListeners

func (recv *Server) GetListeners() *glib.SList

GetListeners is a wrapper around the C function soup_server_get_listeners.

func (*Server) GetPort

func (recv *Server) GetPort() uint32

GetPort is a wrapper around the C function soup_server_get_port.

func (*Server) IsHttps

func (recv *Server) IsHttps() bool

IsHttps is a wrapper around the C function soup_server_is_https.

func (*Server) Object

func (recv *Server) Object() *gobject.Object

Object upcasts to *Object

func (*Server) PauseMessage

func (recv *Server) PauseMessage(msg *Message)

PauseMessage is a wrapper around the C function soup_server_pause_message.

func (*Server) Quit

func (recv *Server) Quit()

Quit is a wrapper around the C function soup_server_quit.

func (*Server) RemoveAuthDomain

func (recv *Server) RemoveAuthDomain(authDomain *AuthDomain)

RemoveAuthDomain is a wrapper around the C function soup_server_remove_auth_domain.

func (*Server) RemoveHandler

func (recv *Server) RemoveHandler(path string)

RemoveHandler is a wrapper around the C function soup_server_remove_handler.

func (*Server) Run

func (recv *Server) Run()

Run is a wrapper around the C function soup_server_run.

func (*Server) RunAsync

func (recv *Server) RunAsync()

RunAsync is a wrapper around the C function soup_server_run_async.

func (*Server) ToC

func (recv *Server) ToC() unsafe.Pointer

func (*Server) UnpauseMessage

func (recv *Server) UnpauseMessage(msg *Message)

UnpauseMessage is a wrapper around the C function soup_server_unpause_message.

type ServerClass

type ServerClass struct {
	// contains filtered or unexported fields
}

ServerClass is a wrapper around the C record SoupServerClass.

func ServerClassNewFromC

func ServerClassNewFromC(u unsafe.Pointer) *ServerClass

func (*ServerClass) Equals

func (recv *ServerClass) Equals(other *ServerClass) bool

Equals compares this ServerClass with another ServerClass, and returns true if they represent the same GObject.

func (*ServerClass) ToC

func (recv *ServerClass) ToC() unsafe.Pointer

type ServerSignalRequestAbortedCallback

type ServerSignalRequestAbortedCallback func(targetObject *Server, message *Message, client *ClientContext)

ServerSignalRequestAbortedCallback is a callback function for a 'request-aborted' signal emitted from a Server.

type ServerSignalRequestFinishedCallback

type ServerSignalRequestFinishedCallback func(targetObject *Server, message *Message, client *ClientContext)

ServerSignalRequestFinishedCallback is a callback function for a 'request-finished' signal emitted from a Server.

type ServerSignalRequestReadCallback

type ServerSignalRequestReadCallback func(targetObject *Server, message *Message, client *ClientContext)

ServerSignalRequestReadCallback is a callback function for a 'request-read' signal emitted from a Server.

type ServerSignalRequestStartedCallback

type ServerSignalRequestStartedCallback func(targetObject *Server, message *Message, client *ClientContext)

ServerSignalRequestStartedCallback is a callback function for a 'request-started' signal emitted from a Server.

type Session

type Session struct {
	// contains filtered or unexported fields
}

Session is a wrapper around the C record SoupSession.

func CastToSession

func CastToSession(object *gobject.Object) *Session

CastToWidget down casts any arbitrary Object to Session. Exercise care, as this is a potentially dangerous function if the Object is not a Session.

func SessionNewFromC

func SessionNewFromC(u unsafe.Pointer) *Session

func (*Session) Abort

func (recv *Session) Abort()

Abort is a wrapper around the C function soup_session_abort.

func (*Session) CancelMessage

func (recv *Session) CancelMessage(msg *Message, statusCode uint32)

CancelMessage is a wrapper around the C function soup_session_cancel_message.

func (*Session) ConnectAuthenticate

func (recv *Session) ConnectAuthenticate(callback SessionSignalAuthenticateCallback) int

ConnectAuthenticate connects the callback to the 'authenticate' signal for the Session.

The returned value represents the connection, and may be passed to DisconnectAuthenticate to remove it.

func (*Session) ConnectRequestStarted

func (recv *Session) ConnectRequestStarted(callback SessionSignalRequestStartedCallback) int

ConnectRequestStarted connects the callback to the 'request-started' signal for the Session.

The returned value represents the connection, and may be passed to DisconnectRequestStarted to remove it.

func (*Session) DisconnectAuthenticate

func (recv *Session) DisconnectAuthenticate(connectionID int)

DisconnectAuthenticate disconnects a callback from the 'authenticate' signal for the Session.

The connectionID should be a value returned from a call to ConnectAuthenticate.

func (*Session) DisconnectRequestStarted

func (recv *Session) DisconnectRequestStarted(connectionID int)

DisconnectRequestStarted disconnects a callback from the 'request-started' signal for the Session.

The connectionID should be a value returned from a call to ConnectRequestStarted.

func (*Session) Equals

func (recv *Session) Equals(other *Session) bool

Equals compares this Session with another Session, and returns true if they represent the same GObject.

func (*Session) GetAsyncContext

func (recv *Session) GetAsyncContext() *glib.MainContext

GetAsyncContext is a wrapper around the C function soup_session_get_async_context.

func (*Session) Object

func (recv *Session) Object() *gobject.Object

Object upcasts to *Object

func (*Session) PauseMessage

func (recv *Session) PauseMessage(msg *Message)

PauseMessage is a wrapper around the C function soup_session_pause_message.

func (*Session) RequeueMessage

func (recv *Session) RequeueMessage(msg *Message)

RequeueMessage is a wrapper around the C function soup_session_requeue_message.

func (*Session) SendMessage

func (recv *Session) SendMessage(msg *Message) uint32

SendMessage is a wrapper around the C function soup_session_send_message.

func (*Session) ToC

func (recv *Session) ToC() unsafe.Pointer

func (*Session) UnpauseMessage

func (recv *Session) UnpauseMessage(msg *Message)

UnpauseMessage is a wrapper around the C function soup_session_unpause_message.

type SessionAsync

type SessionAsync struct {
	// contains filtered or unexported fields
}

SessionAsync is a wrapper around the C record SoupSessionAsync.

func CastToSessionAsync

func CastToSessionAsync(object *gobject.Object) *SessionAsync

CastToWidget down casts any arbitrary Object to SessionAsync. Exercise care, as this is a potentially dangerous function if the Object is not a SessionAsync.

func SessionAsyncNew

func SessionAsyncNew() *SessionAsync

SessionAsyncNew is a wrapper around the C function soup_session_async_new.

func SessionAsyncNewFromC

func SessionAsyncNewFromC(u unsafe.Pointer) *SessionAsync

func (*SessionAsync) Equals

func (recv *SessionAsync) Equals(other *SessionAsync) bool

Equals compares this SessionAsync with another SessionAsync, and returns true if they represent the same GObject.

func (*SessionAsync) Object

func (recv *SessionAsync) Object() *gobject.Object

Object upcasts to *Object

func (*SessionAsync) Session

func (recv *SessionAsync) Session() *Session

Session upcasts to *Session

func (*SessionAsync) ToC

func (recv *SessionAsync) ToC() unsafe.Pointer

type SessionAsyncClass

type SessionAsyncClass struct {
	// contains filtered or unexported fields
}

SessionAsyncClass is a wrapper around the C record SoupSessionAsyncClass.

func SessionAsyncClassNewFromC

func SessionAsyncClassNewFromC(u unsafe.Pointer) *SessionAsyncClass

func (*SessionAsyncClass) Equals

func (recv *SessionAsyncClass) Equals(other *SessionAsyncClass) bool

Equals compares this SessionAsyncClass with another SessionAsyncClass, and returns true if they represent the same GObject.

func (*SessionAsyncClass) ToC

func (recv *SessionAsyncClass) ToC() unsafe.Pointer

type SessionClass

type SessionClass struct {
	// contains filtered or unexported fields
}

SessionClass is a wrapper around the C record SoupSessionClass.

func SessionClassNewFromC

func SessionClassNewFromC(u unsafe.Pointer) *SessionClass

func (*SessionClass) Equals

func (recv *SessionClass) Equals(other *SessionClass) bool

Equals compares this SessionClass with another SessionClass, and returns true if they represent the same GObject.

func (*SessionClass) ToC

func (recv *SessionClass) ToC() unsafe.Pointer

type SessionSignalAuthenticateCallback

type SessionSignalAuthenticateCallback func(targetObject *Session, msg *Message, auth *Auth, retrying bool)

SessionSignalAuthenticateCallback is a callback function for a 'authenticate' signal emitted from a Session.

type SessionSignalRequestStartedCallback

type SessionSignalRequestStartedCallback func(targetObject *Session, msg *Message, socket *Socket)

SessionSignalRequestStartedCallback is a callback function for a 'request-started' signal emitted from a Session.

type SessionSync

type SessionSync struct {
	// contains filtered or unexported fields
}

SessionSync is a wrapper around the C record SoupSessionSync.

func CastToSessionSync

func CastToSessionSync(object *gobject.Object) *SessionSync

CastToWidget down casts any arbitrary Object to SessionSync. Exercise care, as this is a potentially dangerous function if the Object is not a SessionSync.

func SessionSyncNew

func SessionSyncNew() *SessionSync

SessionSyncNew is a wrapper around the C function soup_session_sync_new.

func SessionSyncNewFromC

func SessionSyncNewFromC(u unsafe.Pointer) *SessionSync

func (*SessionSync) Equals

func (recv *SessionSync) Equals(other *SessionSync) bool

Equals compares this SessionSync with another SessionSync, and returns true if they represent the same GObject.

func (*SessionSync) Object

func (recv *SessionSync) Object() *gobject.Object

Object upcasts to *Object

func (*SessionSync) Session

func (recv *SessionSync) Session() *Session

Session upcasts to *Session

func (*SessionSync) ToC

func (recv *SessionSync) ToC() unsafe.Pointer

type SessionSyncClass

type SessionSyncClass struct {
	// contains filtered or unexported fields
}

SessionSyncClass is a wrapper around the C record SoupSessionSyncClass.

func SessionSyncClassNewFromC

func SessionSyncClassNewFromC(u unsafe.Pointer) *SessionSyncClass

func (*SessionSyncClass) Equals

func (recv *SessionSyncClass) Equals(other *SessionSyncClass) bool

Equals compares this SessionSyncClass with another SessionSyncClass, and returns true if they represent the same GObject.

func (*SessionSyncClass) ToC

func (recv *SessionSyncClass) ToC() unsafe.Pointer

type Socket

type Socket struct {
	// contains filtered or unexported fields
}

Socket is a wrapper around the C record SoupSocket.

func CastToSocket

func CastToSocket(object *gobject.Object) *Socket

CastToWidget down casts any arbitrary Object to Socket. Exercise care, as this is a potentially dangerous function if the Object is not a Socket.

func SocketNewFromC

func SocketNewFromC(u unsafe.Pointer) *Socket

func (*Socket) ConnectDisconnected

func (recv *Socket) ConnectDisconnected(callback SocketSignalDisconnectedCallback) int

ConnectDisconnected connects the callback to the 'disconnected' signal for the Socket.

The returned value represents the connection, and may be passed to DisconnectDisconnected to remove it.

func (*Socket) ConnectNewConnection

func (recv *Socket) ConnectNewConnection(callback SocketSignalNewConnectionCallback) int

ConnectNewConnection connects the callback to the 'new-connection' signal for the Socket.

The returned value represents the connection, and may be passed to DisconnectNewConnection to remove it.

func (*Socket) ConnectReadable

func (recv *Socket) ConnectReadable(callback SocketSignalReadableCallback) int

ConnectReadable connects the callback to the 'readable' signal for the Socket.

The returned value represents the connection, and may be passed to DisconnectReadable to remove it.

func (*Socket) ConnectSync

func (recv *Socket) ConnectSync(cancellable *gio.Cancellable) uint32

ConnectSync is a wrapper around the C function soup_socket_connect_sync.

func (*Socket) ConnectWritable

func (recv *Socket) ConnectWritable(callback SocketSignalWritableCallback) int

ConnectWritable connects the callback to the 'writable' signal for the Socket.

The returned value represents the connection, and may be passed to DisconnectWritable to remove it.

func (*Socket) Disconnect

func (recv *Socket) Disconnect()

Disconnect is a wrapper around the C function soup_socket_disconnect.

func (*Socket) DisconnectDisconnected

func (recv *Socket) DisconnectDisconnected(connectionID int)

DisconnectDisconnected disconnects a callback from the 'disconnected' signal for the Socket.

The connectionID should be a value returned from a call to ConnectDisconnected.

func (*Socket) DisconnectNewConnection

func (recv *Socket) DisconnectNewConnection(connectionID int)

DisconnectNewConnection disconnects a callback from the 'new-connection' signal for the Socket.

The connectionID should be a value returned from a call to ConnectNewConnection.

func (*Socket) DisconnectReadable

func (recv *Socket) DisconnectReadable(connectionID int)

DisconnectReadable disconnects a callback from the 'readable' signal for the Socket.

The connectionID should be a value returned from a call to ConnectReadable.

func (*Socket) DisconnectWritable

func (recv *Socket) DisconnectWritable(connectionID int)

DisconnectWritable disconnects a callback from the 'writable' signal for the Socket.

The connectionID should be a value returned from a call to ConnectWritable.

func (*Socket) Equals

func (recv *Socket) Equals(other *Socket) bool

Equals compares this Socket with another Socket, and returns true if they represent the same GObject.

func (*Socket) GetFd

func (recv *Socket) GetFd() int32

GetFd is a wrapper around the C function soup_socket_get_fd.

func (*Socket) GetLocalAddress

func (recv *Socket) GetLocalAddress() *Address

GetLocalAddress is a wrapper around the C function soup_socket_get_local_address.

func (*Socket) GetRemoteAddress

func (recv *Socket) GetRemoteAddress() *Address

GetRemoteAddress is a wrapper around the C function soup_socket_get_remote_address.

func (*Socket) Initable

func (recv *Socket) Initable() *gio.Initable

Initable returns the Initable interface implemented by Socket

func (*Socket) IsConnected

func (recv *Socket) IsConnected() bool

IsConnected is a wrapper around the C function soup_socket_is_connected.

func (*Socket) IsSsl

func (recv *Socket) IsSsl() bool

IsSsl is a wrapper around the C function soup_socket_is_ssl.

func (*Socket) Listen

func (recv *Socket) Listen() bool

Listen is a wrapper around the C function soup_socket_listen.

func (*Socket) Object

func (recv *Socket) Object() *gobject.Object

Object upcasts to *Object

func (*Socket) Read

func (recv *Socket) Read(buffer []uint8, cancellable *gio.Cancellable) (SocketIOStatus, uint64, error)

Read is a wrapper around the C function soup_socket_read.

func (*Socket) StartProxySsl

func (recv *Socket) StartProxySsl(sslHost string, cancellable *gio.Cancellable) bool

StartProxySsl is a wrapper around the C function soup_socket_start_proxy_ssl.

func (*Socket) StartSsl

func (recv *Socket) StartSsl(cancellable *gio.Cancellable) bool

StartSsl is a wrapper around the C function soup_socket_start_ssl.

func (*Socket) ToC

func (recv *Socket) ToC() unsafe.Pointer

func (*Socket) Write

func (recv *Socket) Write(buffer []uint8, cancellable *gio.Cancellable) (SocketIOStatus, uint64, error)

Write is a wrapper around the C function soup_socket_write.

type SocketClass

type SocketClass struct {
	// contains filtered or unexported fields
}

SocketClass is a wrapper around the C record SoupSocketClass.

func SocketClassNewFromC

func SocketClassNewFromC(u unsafe.Pointer) *SocketClass

func (*SocketClass) Equals

func (recv *SocketClass) Equals(other *SocketClass) bool

Equals compares this SocketClass with another SocketClass, and returns true if they represent the same GObject.

func (*SocketClass) ToC

func (recv *SocketClass) ToC() unsafe.Pointer

type SocketIOStatus

type SocketIOStatus C.SoupSocketIOStatus
const (
	SOUP_SOCKET_OK          SocketIOStatus = 0
	SOUP_SOCKET_WOULD_BLOCK SocketIOStatus = 1
	SOUP_SOCKET_EOF         SocketIOStatus = 2
	SOUP_SOCKET_ERROR       SocketIOStatus = 3
)

type SocketSignalDisconnectedCallback

type SocketSignalDisconnectedCallback func(targetObject *Socket)

SocketSignalDisconnectedCallback is a callback function for a 'disconnected' signal emitted from a Socket.

type SocketSignalNewConnectionCallback

type SocketSignalNewConnectionCallback func(targetObject *Socket, new *Socket)

SocketSignalNewConnectionCallback is a callback function for a 'new-connection' signal emitted from a Socket.

type SocketSignalReadableCallback

type SocketSignalReadableCallback func(targetObject *Socket)

SocketSignalReadableCallback is a callback function for a 'readable' signal emitted from a Socket.

type SocketSignalWritableCallback

type SocketSignalWritableCallback func(targetObject *Socket)

SocketSignalWritableCallback is a callback function for a 'writable' signal emitted from a Socket.

type Status

type Status C.SoupStatus
const (
	SOUP_STATUS_NONE                            Status = 0
	SOUP_STATUS_CANCELLED                       Status = 1
	SOUP_STATUS_CANT_RESOLVE                    Status = 2
	SOUP_STATUS_CANT_RESOLVE_PROXY              Status = 3
	SOUP_STATUS_CANT_CONNECT                    Status = 4
	SOUP_STATUS_CANT_CONNECT_PROXY              Status = 5
	SOUP_STATUS_SSL_FAILED                      Status = 6
	SOUP_STATUS_IO_ERROR                        Status = 7
	SOUP_STATUS_MALFORMED                       Status = 8
	SOUP_STATUS_TRY_AGAIN                       Status = 9
	SOUP_STATUS_TOO_MANY_REDIRECTS              Status = 10
	SOUP_STATUS_TLS_FAILED                      Status = 11
	SOUP_STATUS_CONTINUE                        Status = 100
	SOUP_STATUS_SWITCHING_PROTOCOLS             Status = 101
	SOUP_STATUS_PROCESSING                      Status = 102
	SOUP_STATUS_OK                              Status = 200
	SOUP_STATUS_CREATED                         Status = 201
	SOUP_STATUS_ACCEPTED                        Status = 202
	SOUP_STATUS_NON_AUTHORITATIVE               Status = 203
	SOUP_STATUS_NO_CONTENT                      Status = 204
	SOUP_STATUS_RESET_CONTENT                   Status = 205
	SOUP_STATUS_PARTIAL_CONTENT                 Status = 206
	SOUP_STATUS_MULTI_STATUS                    Status = 207
	SOUP_STATUS_MULTIPLE_CHOICES                Status = 300
	SOUP_STATUS_MOVED_PERMANENTLY               Status = 301
	SOUP_STATUS_FOUND                           Status = 302
	SOUP_STATUS_MOVED_TEMPORARILY               Status = 302
	SOUP_STATUS_SEE_OTHER                       Status = 303
	SOUP_STATUS_NOT_MODIFIED                    Status = 304
	SOUP_STATUS_USE_PROXY                       Status = 305
	SOUP_STATUS_NOT_APPEARING_IN_THIS_PROTOCOL  Status = 306
	SOUP_STATUS_TEMPORARY_REDIRECT              Status = 307
	SOUP_STATUS_BAD_REQUEST                     Status = 400
	SOUP_STATUS_UNAUTHORIZED                    Status = 401
	SOUP_STATUS_PAYMENT_REQUIRED                Status = 402
	SOUP_STATUS_FORBIDDEN                       Status = 403
	SOUP_STATUS_NOT_FOUND                       Status = 404
	SOUP_STATUS_METHOD_NOT_ALLOWED              Status = 405
	SOUP_STATUS_NOT_ACCEPTABLE                  Status = 406
	SOUP_STATUS_PROXY_AUTHENTICATION_REQUIRED   Status = 407
	SOUP_STATUS_PROXY_UNAUTHORIZED              Status = 407
	SOUP_STATUS_REQUEST_TIMEOUT                 Status = 408
	SOUP_STATUS_CONFLICT                        Status = 409
	SOUP_STATUS_GONE                            Status = 410
	SOUP_STATUS_LENGTH_REQUIRED                 Status = 411
	SOUP_STATUS_PRECONDITION_FAILED             Status = 412
	SOUP_STATUS_REQUEST_ENTITY_TOO_LARGE        Status = 413
	SOUP_STATUS_REQUEST_URI_TOO_LONG            Status = 414
	SOUP_STATUS_UNSUPPORTED_MEDIA_TYPE          Status = 415
	SOUP_STATUS_REQUESTED_RANGE_NOT_SATISFIABLE Status = 416
	SOUP_STATUS_INVALID_RANGE                   Status = 416
	SOUP_STATUS_EXPECTATION_FAILED              Status = 417
	SOUP_STATUS_UNPROCESSABLE_ENTITY            Status = 422
	SOUP_STATUS_LOCKED                          Status = 423
	SOUP_STATUS_FAILED_DEPENDENCY               Status = 424
	SOUP_STATUS_INTERNAL_SERVER_ERROR           Status = 500
	SOUP_STATUS_NOT_IMPLEMENTED                 Status = 501
	SOUP_STATUS_BAD_GATEWAY                     Status = 502
	SOUP_STATUS_SERVICE_UNAVAILABLE             Status = 503
	SOUP_STATUS_GATEWAY_TIMEOUT                 Status = 504
	SOUP_STATUS_HTTP_VERSION_NOT_SUPPORTED      Status = 505
	SOUP_STATUS_INSUFFICIENT_STORAGE            Status = 507
	SOUP_STATUS_NOT_EXTENDED                    Status = 510
)

type URI

type URI struct {
	Scheme   string
	User     string
	Password string
	Host     string
	Port     uint32
	Path     string
	Query    string
	Fragment string
	// contains filtered or unexported fields
}

URI is a wrapper around the C record SoupURI.

func URINew

func URINew(uriString string) *URI

URINew is a wrapper around the C function soup_uri_new.

func URINewFromC

func URINewFromC(u unsafe.Pointer) *URI

func (*URI) Copy

func (recv *URI) Copy() *URI

Copy is a wrapper around the C function soup_uri_copy.

func (*URI) Equal

func (recv *URI) Equal(uri2 *URI) bool

Equal is a wrapper around the C function soup_uri_equal.

func (*URI) Equals

func (recv *URI) Equals(other *URI) bool

Equals compares this URI with another URI, and returns true if they represent the same GObject.

func (*URI) Free

func (recv *URI) Free()

Free is a wrapper around the C function soup_uri_free.

func (*URI) NewWithBase

func (recv *URI) NewWithBase(uriString string) *URI

NewWithBase is a wrapper around the C function soup_uri_new_with_base.

func (*URI) SetFragment

func (recv *URI) SetFragment(fragment string)

SetFragment is a wrapper around the C function soup_uri_set_fragment.

func (*URI) SetHost

func (recv *URI) SetHost(host string)

SetHost is a wrapper around the C function soup_uri_set_host.

func (*URI) SetPassword

func (recv *URI) SetPassword(password string)

SetPassword is a wrapper around the C function soup_uri_set_password.

func (*URI) SetPath

func (recv *URI) SetPath(path string)

SetPath is a wrapper around the C function soup_uri_set_path.

func (*URI) SetPort

func (recv *URI) SetPort(port uint32)

SetPort is a wrapper around the C function soup_uri_set_port.

func (*URI) SetQuery

func (recv *URI) SetQuery(query string)

SetQuery is a wrapper around the C function soup_uri_set_query.

func (*URI) SetQueryFromForm

func (recv *URI) SetQueryFromForm(form *glib.HashTable)

SetQueryFromForm is a wrapper around the C function soup_uri_set_query_from_form.

func (*URI) SetScheme

func (recv *URI) SetScheme(scheme string)

SetScheme is a wrapper around the C function soup_uri_set_scheme.

func (*URI) SetUser

func (recv *URI) SetUser(user string)

SetUser is a wrapper around the C function soup_uri_set_user.

func (*URI) ToC

func (recv *URI) ToC() unsafe.Pointer

func (*URI) ToString

func (recv *URI) ToString(justPathAndQuery bool) string

ToString is a wrapper around the C function soup_uri_to_string.

func (*URI) UsesDefaultPort

func (recv *URI) UsesDefaultPort() bool

UsesDefaultPort is a wrapper around the C function soup_uri_uses_default_port.

type WebsocketConnectionPrivate

type WebsocketConnectionPrivate struct {
	// contains filtered or unexported fields
}

WebsocketConnectionPrivate is a wrapper around the C record SoupWebsocketConnectionPrivate.

func WebsocketConnectionPrivateNewFromC

func WebsocketConnectionPrivateNewFromC(u unsafe.Pointer) *WebsocketConnectionPrivate

func (*WebsocketConnectionPrivate) Equals

Equals compares this WebsocketConnectionPrivate with another WebsocketConnectionPrivate, and returns true if they represent the same GObject.

func (*WebsocketConnectionPrivate) ToC

type XMLRPCError

type XMLRPCError C.SoupXMLRPCError
const (
	SOUP_XMLRPC_ERROR_ARGUMENTS XMLRPCError = 0
	SOUP_XMLRPC_ERROR_RETVAL    XMLRPCError = 1
)

type XMLRPCFault

type XMLRPCFault C.SoupXMLRPCFault
const (
	SOUP_XMLRPC_FAULT_PARSE_ERROR_NOT_WELL_FORMED                XMLRPCFault = -32700
	SOUP_XMLRPC_FAULT_PARSE_ERROR_UNSUPPORTED_ENCODING           XMLRPCFault = -32701
	SOUP_XMLRPC_FAULT_PARSE_ERROR_INVALID_CHARACTER_FOR_ENCODING XMLRPCFault = -32702
	SOUP_XMLRPC_FAULT_SERVER_ERROR_INVALID_XML_RPC               XMLRPCFault = -32600
	SOUP_XMLRPC_FAULT_SERVER_ERROR_REQUESTED_METHOD_NOT_FOUND    XMLRPCFault = -32601
	SOUP_XMLRPC_FAULT_SERVER_ERROR_INVALID_METHOD_PARAMETERS     XMLRPCFault = -32602
	SOUP_XMLRPC_FAULT_SERVER_ERROR_INTERNAL_XML_RPC_ERROR        XMLRPCFault = -32603
	SOUP_XMLRPC_FAULT_APPLICATION_ERROR                          XMLRPCFault = -32500
	SOUP_XMLRPC_FAULT_SYSTEM_ERROR                               XMLRPCFault = -32400
	SOUP_XMLRPC_FAULT_TRANSPORT_ERROR                            XMLRPCFault = -32300
)

Jump to

Keyboard shortcuts

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