Documentation
¶
Index ¶
- Constants
- func AuthDomainDigestEncodePassword(username string, realm string, password string) string
- func FormDecode(encodedForm string) *glib.HashTable
- func FormEncodeDatalist(formDataSet *glib.Data) string
- func FormEncodeHash(formDataSet *glib.HashTable) string
- func HeaderContains(header string, token string) bool
- func HeaderFreeList(list *glib.SList)
- func HeaderFreeParamList(paramList *glib.HashTable)
- func HeaderParseList(header string) *glib.SList
- func HeaderParseParamList(header string) *glib.HashTable
- func HeaderParseQualityList(header string) (*glib.SList, *glib.SList)
- func HttpErrorQuark() glib.Quark
- func StatusGetPhrase(statusCode uint32) string
- func StrCaseEqual(v1 uintptr, v2 uintptr) bool
- func StrCaseHash(key uintptr) uint32
- func URIDecode(part string) string
- func URIEncode(part string, escapeExtra string) string
- func URINormalize(part string, unescapeExtra string) string
- func ValueArrayNew() *gobject.ValueArray
- func ValueHashInsertValue(hash *glib.HashTable, key string, value *gobject.Value)
- func ValueHashNew() *glib.HashTable
- func XMLRPCErrorQuark() glib.Quark
- func XMLRPCFaultQuark() glib.Quark
- func XmlrpcBuildFault(faultCode int32, faultFormat string, args ...interface{}) string
- func XmlrpcBuildMethodResponse(value *gobject.Value) string
- func XmlrpcParseMethodCall(methodCall string, length int32) (bool, string, *gobject.ValueArray)
- func XmlrpcParseMethodResponse(methodResponse string, length int32) (bool, *gobject.Value, error)
- func XmlrpcSetFault(msg *Message, faultCode int32, faultFormat string, args ...interface{})
- type Address
- func (recv *Address) Equals(other *Address) bool
- func (recv *Address) GetName() string
- func (recv *Address) GetPhysical() string
- func (recv *Address) GetPort() uint32
- func (recv *Address) GetSockaddr(len int32) uintptr
- func (recv *Address) IsResolved() bool
- func (recv *Address) Object() *gobject.Object
- func (recv *Address) ResolveSync(cancellable *gio.Cancellable) uint32
- func (recv *Address) SocketConnectable() *gio.SocketConnectable
- func (recv *Address) ToC() unsafe.Pointer
- type AddressClass
- type AddressFamily
- type Auth
- func (recv *Auth) Authenticate(username string, password string)
- func (recv *Auth) Equals(other *Auth) bool
- func (recv *Auth) FreeProtectionSpace(space *glib.SList)
- func (recv *Auth) GetAuthorization(msg *Message) string
- func (recv *Auth) GetHost() string
- func (recv *Auth) GetInfo() string
- func (recv *Auth) GetProtectionSpace(sourceUri *URI) *glib.SList
- func (recv *Auth) GetRealm() string
- func (recv *Auth) GetSavedPassword(user string) string
- func (recv *Auth) GetSavedUsers() *glib.SList
- func (recv *Auth) GetSchemeName() string
- func (recv *Auth) HasSavedPassword(username string, password string)
- func (recv *Auth) IsAuthenticated() bool
- func (recv *Auth) IsForProxy() bool
- func (recv *Auth) Object() *gobject.Object
- func (recv *Auth) SavePassword(username string, password string)
- func (recv *Auth) ToC() unsafe.Pointer
- func (recv *Auth) Update(msg *Message, authHeader string) bool
- type AuthClass
- type AuthDomain
- func (recv *AuthDomain) Accepts(msg *Message) string
- func (recv *AuthDomain) AddPath(path string)
- func (recv *AuthDomain) Challenge(msg *Message)
- func (recv *AuthDomain) CheckPassword(msg *Message, username string, password string) bool
- func (recv *AuthDomain) Covers(msg *Message) bool
- func (recv *AuthDomain) Equals(other *AuthDomain) bool
- func (recv *AuthDomain) GetRealm() string
- func (recv *AuthDomain) Object() *gobject.Object
- func (recv *AuthDomain) RemovePath(path string)
- func (recv *AuthDomain) ToC() unsafe.Pointer
- func (recv *AuthDomain) TryGenericAuthCallback(msg *Message, username string) bool
- type AuthDomainBasic
- type AuthDomainBasicClass
- type AuthDomainClass
- type AuthDomainDigest
- type AuthDomainDigestClass
- type AuthManager
- func (recv *AuthManager) ConnectAuthenticate(callback AuthManagerSignalAuthenticateCallback) int
- func (recv *AuthManager) DisconnectAuthenticate(connectionID int)
- func (recv *AuthManager) Equals(other *AuthManager) bool
- func (recv *AuthManager) Object() *gobject.Object
- func (recv *AuthManager) SessionFeature() *SessionFeature
- func (recv *AuthManager) ToC() unsafe.Pointer
- type AuthManagerClass
- type AuthManagerPrivate
- type AuthManagerSignalAuthenticateCallback
- type Buffer
- type Cache
- type CacheClass
- type CachePrivate
- type CacheResponse
- type Cacheability
- type ClientContext
- func (recv *ClientContext) Equals(other *ClientContext) bool
- func (recv *ClientContext) GetAddress() *Address
- func (recv *ClientContext) GetAuthDomain() *AuthDomain
- func (recv *ClientContext) GetAuthUser() string
- func (recv *ClientContext) GetHost() string
- func (recv *ClientContext) GetSocket() *Socket
- func (recv *ClientContext) ToC() unsafe.Pointer
- type Connection
- type ConnectionState
- type ContentDecoder
- type ContentDecoderClass
- type ContentDecoderPrivate
- type ContentSniffer
- type ContentSnifferClass
- type ContentSnifferPrivate
- type CookieJar
- func (recv *CookieJar) ConnectChanged(callback CookieJarSignalChangedCallback) int
- func (recv *CookieJar) DisconnectChanged(connectionID int)
- func (recv *CookieJar) Equals(other *CookieJar) bool
- func (recv *CookieJar) Object() *gobject.Object
- func (recv *CookieJar) SessionFeature() *SessionFeature
- func (recv *CookieJar) ToC() unsafe.Pointer
- type CookieJarClass
- type CookieJarDB
- type CookieJarDBClass
- type CookieJarSignalChangedCallback
- type CookieJarText
- type CookieJarTextClass
- type Date
- type DateFormat
- type Encoding
- type Expectation
- type HTTPVersion
- func HeadersParseRequest(str string, len int32, reqHeaders *MessageHeaders) (uint32, string, string, HTTPVersion)
- func HeadersParseResponse(str string, len int32, headers *MessageHeaders) (bool, HTTPVersion, uint32, string)
- func HeadersParseStatusLine(statusLine string) (bool, HTTPVersion, uint32, string)
- type KnownStatusCode
- type Logger
- type LoggerClass
- type LoggerLogLevel
- type MemoryUse
- type Message
- func CastToMessage(object *gobject.Object) *Message
- func FormRequestNewFromDatalist(method string, uri string, formDataSet *glib.Data) *Message
- func FormRequestNewFromHash(method string, uri string, formDataSet *glib.HashTable) *Message
- func MessageNew(method string, uriString string) *Message
- func MessageNewFromC(u unsafe.Pointer) *Message
- func MessageNewFromUri(method string, uri *URI) *Message
- func (recv *Message) ConnectFinished(callback MessageSignalFinishedCallback) int
- func (recv *Message) ConnectGotBody(callback MessageSignalGotBodyCallback) int
- func (recv *Message) ConnectGotChunk(callback MessageSignalGotChunkCallback) int
- func (recv *Message) ConnectGotHeaders(callback MessageSignalGotHeadersCallback) int
- func (recv *Message) ConnectGotInformational(callback MessageSignalGotInformationalCallback) int
- func (recv *Message) ConnectRestarted(callback MessageSignalRestartedCallback) int
- func (recv *Message) ConnectWroteBody(callback MessageSignalWroteBodyCallback) int
- func (recv *Message) ConnectWroteChunk(callback MessageSignalWroteChunkCallback) int
- func (recv *Message) ConnectWroteHeaders(callback MessageSignalWroteHeadersCallback) int
- func (recv *Message) ConnectWroteInformational(callback MessageSignalWroteInformationalCallback) int
- func (recv *Message) ContentSniffed(contentType string, params *glib.HashTable)
- func (recv *Message) DisconnectFinished(connectionID int)
- func (recv *Message) DisconnectGotBody(connectionID int)
- func (recv *Message) DisconnectGotChunk(connectionID int)
- func (recv *Message) DisconnectGotHeaders(connectionID int)
- func (recv *Message) DisconnectGotInformational(connectionID int)
- func (recv *Message) DisconnectRestarted(connectionID int)
- func (recv *Message) DisconnectWroteBody(connectionID int)
- func (recv *Message) DisconnectWroteChunk(connectionID int)
- func (recv *Message) DisconnectWroteHeaders(connectionID int)
- func (recv *Message) DisconnectWroteInformational(connectionID int)
- func (recv *Message) Equals(other *Message) bool
- func (recv *Message) Finished()
- func (recv *Message) GetFlags() MessageFlags
- func (recv *Message) GetHttpVersion() HTTPVersion
- func (recv *Message) GetUri() *URI
- func (recv *Message) GotBody()
- func (recv *Message) GotChunk(chunk *Buffer)
- func (recv *Message) GotHeaders()
- func (recv *Message) GotInformational()
- func (recv *Message) IsKeepalive() bool
- func (recv *Message) Object() *gobject.Object
- func (recv *Message) Restarted()
- func (recv *Message) SetFlags(flags MessageFlags)
- func (recv *Message) SetHttpVersion(version HTTPVersion)
- func (recv *Message) SetRequest(contentType string, reqUse MemoryUse, reqBody []uint8)
- func (recv *Message) SetResponse(contentType string, respUse MemoryUse, respBody []uint8)
- func (recv *Message) SetStatus(statusCode uint32)
- func (recv *Message) SetStatusFull(statusCode uint32, reasonPhrase string)
- func (recv *Message) SetUri(uri *URI)
- func (recv *Message) Starting()
- func (recv *Message) ToC() unsafe.Pointer
- func (recv *Message) WroteBody()
- func (recv *Message) WroteBodyData(chunk *Buffer)
- func (recv *Message) WroteChunk()
- func (recv *Message) WroteHeaders()
- func (recv *Message) WroteInformational()
- type MessageBody
- func (recv *MessageBody) Append(use MemoryUse, data []uint8)
- func (recv *MessageBody) AppendBuffer(buffer *Buffer)
- func (recv *MessageBody) Complete()
- func (recv *MessageBody) Equals(other *MessageBody) bool
- func (recv *MessageBody) Flatten() *Buffer
- func (recv *MessageBody) Free()
- func (recv *MessageBody) GetChunk(offset int64) *Buffer
- func (recv *MessageBody) ToC() unsafe.Pointer
- func (recv *MessageBody) Truncate()
- type MessageClass
- type MessageFlags
- type MessageHeaders
- func (recv *MessageHeaders) Append(name string, value string)
- func (recv *MessageHeaders) Clear()
- func (recv *MessageHeaders) Equals(other *MessageHeaders) bool
- func (recv *MessageHeaders) Free()
- func (recv *MessageHeaders) Get(name string) string
- func (recv *MessageHeaders) GetContentLength() int64
- func (recv *MessageHeaders) GetEncoding() Encoding
- func (recv *MessageHeaders) GetExpectations() Expectation
- func (recv *MessageHeaders) Remove(name string)
- func (recv *MessageHeaders) Replace(name string, value string)
- func (recv *MessageHeaders) SetContentLength(contentLength int64)
- func (recv *MessageHeaders) SetEncoding(encoding Encoding)
- func (recv *MessageHeaders) SetExpectations(expectations Expectation)
- func (recv *MessageHeaders) ToC() unsafe.Pointer
- type MessageHeadersIter
- type MessageHeadersType
- type MessagePriority
- type MessageQueue
- type MessageQueueItem
- type MessageSignalFinishedCallback
- type MessageSignalGotBodyCallback
- type MessageSignalGotChunkCallback
- type MessageSignalGotHeadersCallback
- type MessageSignalGotInformationalCallback
- type MessageSignalRestartedCallback
- type MessageSignalWroteBodyCallback
- type MessageSignalWroteChunkCallback
- type MessageSignalWroteHeadersCallback
- type MessageSignalWroteInformationalCallback
- type MultipartInputStream
- func (recv *MultipartInputStream) Equals(other *MultipartInputStream) bool
- func (recv *MultipartInputStream) FilterInputStream() *gio.FilterInputStream
- func (recv *MultipartInputStream) InputStream() *gio.InputStream
- func (recv *MultipartInputStream) Object() *gobject.Object
- func (recv *MultipartInputStream) PollableInputStream() *gio.PollableInputStream
- func (recv *MultipartInputStream) ToC() unsafe.Pointer
- type MultipartInputStreamClass
- type MultipartInputStreamPrivate
- type PasswordManager
- type PasswordManagerInterface
- type ProxyResolverDefault
- func (recv *ProxyResolverDefault) Equals(other *ProxyResolverDefault) bool
- func (recv *ProxyResolverDefault) Object() *gobject.Object
- func (recv *ProxyResolverDefault) ProxyURIResolver() *ProxyURIResolver
- func (recv *ProxyResolverDefault) SessionFeature() *SessionFeature
- func (recv *ProxyResolverDefault) ToC() unsafe.Pointer
- type ProxyResolverDefaultClass
- type ProxyURIResolver
- type ProxyURIResolverInterface
- type RequestData
- type RequestDataClass
- type RequestDataPrivate
- type RequestFile
- type RequestFileClass
- type RequestFilePrivate
- type RequestHTTP
- type RequestHTTPClass
- type RequestHTTPPrivate
- type RequestPrivate
- type Server
- func (recv *Server) AddAuthDomain(authDomain *AuthDomain)
- func (recv *Server) ConnectRequestAborted(callback ServerSignalRequestAbortedCallback) int
- func (recv *Server) ConnectRequestFinished(callback ServerSignalRequestFinishedCallback) int
- func (recv *Server) ConnectRequestRead(callback ServerSignalRequestReadCallback) int
- func (recv *Server) ConnectRequestStarted(callback ServerSignalRequestStartedCallback) int
- func (recv *Server) Disconnect()
- func (recv *Server) DisconnectRequestAborted(connectionID int)
- func (recv *Server) DisconnectRequestFinished(connectionID int)
- func (recv *Server) DisconnectRequestRead(connectionID int)
- func (recv *Server) DisconnectRequestStarted(connectionID int)
- func (recv *Server) Equals(other *Server) bool
- func (recv *Server) GetAsyncContext() *glib.MainContext
- func (recv *Server) GetListener() *Socket
- func (recv *Server) GetListeners() *glib.SList
- func (recv *Server) GetPort() uint32
- func (recv *Server) IsHttps() bool
- func (recv *Server) Object() *gobject.Object
- func (recv *Server) PauseMessage(msg *Message)
- func (recv *Server) Quit()
- func (recv *Server) RemoveAuthDomain(authDomain *AuthDomain)
- func (recv *Server) RemoveHandler(path string)
- func (recv *Server) Run()
- func (recv *Server) RunAsync()
- func (recv *Server) ToC() unsafe.Pointer
- func (recv *Server) UnpauseMessage(msg *Message)
- type ServerClass
- type ServerSignalRequestAbortedCallback
- type ServerSignalRequestFinishedCallback
- type ServerSignalRequestReadCallback
- type ServerSignalRequestStartedCallback
- type Session
- func (recv *Session) Abort()
- func (recv *Session) CancelMessage(msg *Message, statusCode uint32)
- func (recv *Session) ConnectAuthenticate(callback SessionSignalAuthenticateCallback) int
- func (recv *Session) ConnectRequestStarted(callback SessionSignalRequestStartedCallback) int
- func (recv *Session) DisconnectAuthenticate(connectionID int)
- func (recv *Session) DisconnectRequestStarted(connectionID int)
- func (recv *Session) Equals(other *Session) bool
- func (recv *Session) GetAsyncContext() *glib.MainContext
- func (recv *Session) Object() *gobject.Object
- func (recv *Session) PauseMessage(msg *Message)
- func (recv *Session) RequeueMessage(msg *Message)
- func (recv *Session) SendMessage(msg *Message) uint32
- func (recv *Session) ToC() unsafe.Pointer
- func (recv *Session) UnpauseMessage(msg *Message)
- type SessionAsync
- type SessionAsyncClass
- type SessionClass
- type SessionSignalAuthenticateCallback
- type SessionSignalRequestStartedCallback
- type SessionSync
- type SessionSyncClass
- type Socket
- func (recv *Socket) ConnectDisconnected(callback SocketSignalDisconnectedCallback) int
- func (recv *Socket) ConnectNewConnection(callback SocketSignalNewConnectionCallback) int
- func (recv *Socket) ConnectReadable(callback SocketSignalReadableCallback) int
- func (recv *Socket) ConnectSync(cancellable *gio.Cancellable) uint32
- func (recv *Socket) ConnectWritable(callback SocketSignalWritableCallback) int
- func (recv *Socket) Disconnect()
- func (recv *Socket) DisconnectDisconnected(connectionID int)
- func (recv *Socket) DisconnectNewConnection(connectionID int)
- func (recv *Socket) DisconnectReadable(connectionID int)
- func (recv *Socket) DisconnectWritable(connectionID int)
- func (recv *Socket) Equals(other *Socket) bool
- func (recv *Socket) GetFd() int32
- func (recv *Socket) GetLocalAddress() *Address
- func (recv *Socket) GetRemoteAddress() *Address
- func (recv *Socket) Initable() *gio.Initable
- func (recv *Socket) IsConnected() bool
- func (recv *Socket) IsSsl() bool
- func (recv *Socket) Listen() bool
- func (recv *Socket) Object() *gobject.Object
- func (recv *Socket) Read(buffer []uint8, cancellable *gio.Cancellable) (SocketIOStatus, uint64, error)
- func (recv *Socket) StartProxySsl(sslHost string, cancellable *gio.Cancellable) bool
- func (recv *Socket) StartSsl(cancellable *gio.Cancellable) bool
- func (recv *Socket) ToC() unsafe.Pointer
- func (recv *Socket) Write(buffer []uint8, cancellable *gio.Cancellable) (SocketIOStatus, uint64, error)
- type SocketClass
- type SocketIOStatus
- type SocketSignalDisconnectedCallback
- type SocketSignalNewConnectionCallback
- type SocketSignalReadableCallback
- type SocketSignalWritableCallback
- type Status
- type URI
- func (recv *URI) Copy() *URI
- func (recv *URI) Equal(uri2 *URI) bool
- func (recv *URI) Equals(other *URI) bool
- func (recv *URI) Free()
- func (recv *URI) NewWithBase(uriString string) *URI
- func (recv *URI) SetFragment(fragment string)
- func (recv *URI) SetHost(host string)
- func (recv *URI) SetPassword(password string)
- func (recv *URI) SetPath(path string)
- func (recv *URI) SetPort(port uint32)
- func (recv *URI) SetQuery(query string)
- func (recv *URI) SetQueryFromForm(form *glib.HashTable)
- func (recv *URI) SetScheme(scheme string)
- func (recv *URI) SetUser(user string)
- func (recv *URI) ToC() unsafe.Pointer
- func (recv *URI) ToString(justPathAndQuery bool) string
- func (recv *URI) UsesDefaultPort() bool
- type WebsocketConnectionPrivate
- type XMLRPCError
- type XMLRPCFault
Constants ¶
const ADDRESS_ANY_PORT int32 = C.SOUP_ADDRESS_ANY_PORT
const ADDRESS_FAMILY string = C.SOUP_ADDRESS_FAMILY
const ADDRESS_NAME string = C.SOUP_ADDRESS_NAME
const ADDRESS_PHYSICAL string = C.SOUP_ADDRESS_PHYSICAL
const ADDRESS_PORT string = C.SOUP_ADDRESS_PORT
const ADDRESS_PROTOCOL string = C.SOUP_ADDRESS_PROTOCOL
const ADDRESS_SOCKADDR string = C.SOUP_ADDRESS_SOCKADDR
const AUTH_DOMAIN_ADD_PATH string = C.SOUP_AUTH_DOMAIN_ADD_PATH
const AUTH_DOMAIN_BASIC_AUTH_CALLBACK string = C.SOUP_AUTH_DOMAIN_BASIC_AUTH_CALLBACK
const AUTH_DOMAIN_BASIC_AUTH_DATA string = C.SOUP_AUTH_DOMAIN_BASIC_AUTH_DATA
const AUTH_DOMAIN_BASIC_H int32 = C.SOUP_AUTH_DOMAIN_BASIC_H
const AUTH_DOMAIN_DIGEST_AUTH_CALLBACK string = C.SOUP_AUTH_DOMAIN_DIGEST_AUTH_CALLBACK
const AUTH_DOMAIN_DIGEST_AUTH_DATA string = C.SOUP_AUTH_DOMAIN_DIGEST_AUTH_DATA
const AUTH_DOMAIN_DIGEST_H int32 = C.SOUP_AUTH_DOMAIN_DIGEST_H
const AUTH_DOMAIN_FILTER string = C.SOUP_AUTH_DOMAIN_FILTER
const AUTH_DOMAIN_FILTER_DATA string = C.SOUP_AUTH_DOMAIN_FILTER_DATA
const AUTH_DOMAIN_GENERIC_AUTH_CALLBACK string = C.SOUP_AUTH_DOMAIN_GENERIC_AUTH_CALLBACK
const AUTH_DOMAIN_GENERIC_AUTH_DATA string = C.SOUP_AUTH_DOMAIN_GENERIC_AUTH_DATA
const AUTH_DOMAIN_H int32 = C.SOUP_AUTH_DOMAIN_H
const AUTH_DOMAIN_PROXY string = C.SOUP_AUTH_DOMAIN_PROXY
const AUTH_DOMAIN_REALM string = C.SOUP_AUTH_DOMAIN_REALM
const AUTH_DOMAIN_REMOVE_PATH string = C.SOUP_AUTH_DOMAIN_REMOVE_PATH
const AUTH_H int32 = C.SOUP_AUTH_H
const AUTH_HOST string = C.SOUP_AUTH_HOST
const AUTH_IS_AUTHENTICATED string = C.SOUP_AUTH_IS_AUTHENTICATED
const AUTH_IS_FOR_PROXY string = C.SOUP_AUTH_IS_FOR_PROXY
const AUTH_MANAGER_H int32 = C.SOUP_AUTH_MANAGER_H
const AUTH_REALM string = C.SOUP_AUTH_REALM
const AUTH_SCHEME_NAME string = C.SOUP_AUTH_SCHEME_NAME
const CACHE_H int32 = C.SOUP_CACHE_H
const CHAR_HTTP_CTL int32 = C.SOUP_CHAR_HTTP_CTL
const CHAR_HTTP_SEPARATOR int32 = C.SOUP_CHAR_HTTP_SEPARATOR
const CHAR_URI_GEN_DELIMS int32 = C.SOUP_CHAR_URI_GEN_DELIMS
const CHAR_URI_PERCENT_ENCODED int32 = C.SOUP_CHAR_URI_PERCENT_ENCODED
const CHAR_URI_SUB_DELIMS int32 = C.SOUP_CHAR_URI_SUB_DELIMS
const CONTENT_DECODER_H int32 = C.SOUP_CONTENT_DECODER_H
const CONTENT_SNIFFER_H int32 = C.SOUP_CONTENT_SNIFFER_H
const COOKIE_H int32 = C.SOUP_COOKIE_H
const COOKIE_JAR_DB_FILENAME string = C.SOUP_COOKIE_JAR_DB_FILENAME
const COOKIE_JAR_DB_H int32 = C.SOUP_COOKIE_JAR_DB_H
const COOKIE_JAR_H int32 = C.SOUP_COOKIE_JAR_H
const COOKIE_JAR_READ_ONLY string = C.SOUP_COOKIE_JAR_READ_ONLY
const COOKIE_JAR_TEXT_FILENAME string = C.SOUP_COOKIE_JAR_TEXT_FILENAME
const COOKIE_JAR_TEXT_H int32 = C.SOUP_COOKIE_JAR_TEXT_H
const DATE_H int32 = C.SOUP_DATE_H
const FORM_H int32 = C.SOUP_FORM_H
const HEADERS_H int32 = C.SOUP_HEADERS_H
const LOGGER_H int32 = C.SOUP_LOGGER_H
const MESSAGE_BODY_H int32 = C.SOUP_MESSAGE_BODY_H
const MESSAGE_FLAGS string = C.SOUP_MESSAGE_FLAGS
const MESSAGE_H int32 = C.SOUP_MESSAGE_H
const MESSAGE_HEADERS_H int32 = C.SOUP_MESSAGE_HEADERS_H
const MESSAGE_HTTP_VERSION string = C.SOUP_MESSAGE_HTTP_VERSION
const MESSAGE_METHOD string = C.SOUP_MESSAGE_METHOD
const MESSAGE_REASON_PHRASE string = C.SOUP_MESSAGE_REASON_PHRASE
const MESSAGE_REQUEST_BODY string = C.SOUP_MESSAGE_REQUEST_BODY
const MESSAGE_REQUEST_HEADERS string = C.SOUP_MESSAGE_REQUEST_HEADERS
const MESSAGE_RESPONSE_BODY string = C.SOUP_MESSAGE_RESPONSE_BODY
const MESSAGE_RESPONSE_HEADERS string = C.SOUP_MESSAGE_RESPONSE_HEADERS
const MESSAGE_SERVER_SIDE string = C.SOUP_MESSAGE_SERVER_SIDE
const MESSAGE_STATUS_CODE string = C.SOUP_MESSAGE_STATUS_CODE
const MESSAGE_URI string = C.SOUP_MESSAGE_URI
const METHOD_H int32 = C.SOUP_METHOD_H
const MISC_H int32 = C.SOUP_MISC_H
const MULTIPART_H int32 = C.SOUP_MULTIPART_H
const MULTIPART_INPUT_STREAM_H int32 = C.SOUP_MULTIPART_INPUT_STREAM_H
const PASSWORD_MANAGER_H int32 = C.SOUP_PASSWORD_MANAGER_H
const PROXY_RESOLVER_DEFAULT_H int32 = C.SOUP_PROXY_RESOLVER_DEFAULT_H
const PROXY_URI_RESOLVER_H int32 = C.SOUP_PROXY_URI_RESOLVER_H
const REQUEST_DATA_H int32 = C.SOUP_REQUEST_DATA_H
const REQUEST_FILE_H int32 = C.SOUP_REQUEST_FILE_H
const REQUEST_H int32 = C.SOUP_REQUEST_H
const REQUEST_HTTP_H int32 = C.SOUP_REQUEST_HTTP_H
const SERVER_ASYNC_CONTEXT string = C.SOUP_SERVER_ASYNC_CONTEXT
const SERVER_H int32 = C.SOUP_SERVER_H
const SERVER_INTERFACE string = C.SOUP_SERVER_INTERFACE
const SERVER_PORT string = C.SOUP_SERVER_PORT
const SERVER_RAW_PATHS string = C.SOUP_SERVER_RAW_PATHS
const SERVER_SERVER_HEADER string = C.SOUP_SERVER_SERVER_HEADER
const SERVER_SSL_CERT_FILE string = C.SOUP_SERVER_SSL_CERT_FILE
const SERVER_SSL_KEY_FILE string = C.SOUP_SERVER_SSL_KEY_FILE
const SESSION_ASYNC_CONTEXT string = C.SOUP_SESSION_ASYNC_CONTEXT
const SESSION_ASYNC_H int32 = C.SOUP_SESSION_ASYNC_H
const SESSION_FEATURE_H int32 = C.SOUP_SESSION_FEATURE_H
const SESSION_H int32 = C.SOUP_SESSION_H
const SESSION_MAX_CONNS string = C.SOUP_SESSION_MAX_CONNS
const SESSION_MAX_CONNS_PER_HOST string = C.SOUP_SESSION_MAX_CONNS_PER_HOST
const SESSION_PROXY_RESOLVER string = C.SOUP_SESSION_PROXY_RESOLVER
const SESSION_PROXY_URI string = C.SOUP_SESSION_PROXY_URI
const SESSION_SSL_CA_FILE string = C.SOUP_SESSION_SSL_CA_FILE
const SESSION_SYNC_H int32 = C.SOUP_SESSION_SYNC_H
const SESSION_TIMEOUT string = C.SOUP_SESSION_TIMEOUT
const SESSION_USER_AGENT string = C.SOUP_SESSION_USER_AGENT
const SESSION_USE_NTLM string = C.SOUP_SESSION_USE_NTLM
const SOCKET_ASYNC_CONTEXT string = C.SOUP_SOCKET_ASYNC_CONTEXT
const SOCKET_FLAG_NONBLOCKING string = C.SOUP_SOCKET_FLAG_NONBLOCKING
const SOCKET_H int32 = C.SOUP_SOCKET_H
const SOCKET_IS_SERVER string = C.SOUP_SOCKET_IS_SERVER
const SOCKET_LOCAL_ADDRESS string = C.SOUP_SOCKET_LOCAL_ADDRESS
const SOCKET_REMOTE_ADDRESS string = C.SOUP_SOCKET_REMOTE_ADDRESS
const SOCKET_SSL_CREDENTIALS string = C.SOUP_SOCKET_SSL_CREDENTIALS
const SOCKET_SSL_FALLBACK string = C.SOUP_SOCKET_SSL_FALLBACK
const SOCKET_SSL_STRICT string = C.SOUP_SOCKET_SSL_STRICT
const SOCKET_TIMEOUT string = C.SOUP_SOCKET_TIMEOUT
const SOCKET_TRUSTED_CERTIFICATE string = C.SOUP_SOCKET_TRUSTED_CERTIFICATE
const STATUS_H int32 = C.SOUP_STATUS_H
const TYPES_H int32 = C.SOUP_TYPES_H
const URI_H int32 = C.SOUP_URI_H
const VALUE_UTILS_H int32 = C.SOUP_VALUE_UTILS_H
const XMLRPC_H int32 = C.SOUP_XMLRPC_H
const XMLRPC_OLD_H int32 = C.SOUP_XMLRPC_OLD_H
Variables ¶
This section is empty.
Functions ¶
func AuthDomainDigestEncodePassword ¶
AuthDomainDigestEncodePassword is a wrapper around the C function soup_auth_domain_digest_encode_password.
func FormDecode ¶
FormDecode is a wrapper around the C function soup_form_decode.
func FormEncodeDatalist ¶
FormEncodeDatalist is a wrapper around the C function soup_form_encode_datalist.
func FormEncodeHash ¶
FormEncodeHash is a wrapper around the C function soup_form_encode_hash.
func HeaderContains ¶
HeaderContains is a wrapper around the C function soup_header_contains.
func HeaderFreeList ¶
HeaderFreeList is a wrapper around the C function soup_header_free_list.
func HeaderFreeParamList ¶
HeaderFreeParamList is a wrapper around the C function soup_header_free_param_list.
func HeaderParseList ¶
HeaderParseList is a wrapper around the C function soup_header_parse_list.
func HeaderParseParamList ¶
HeaderParseParamList is a wrapper around the C function soup_header_parse_param_list.
func HeaderParseQualityList ¶
HeaderParseQualityList is a wrapper around the C function soup_header_parse_quality_list.
func HttpErrorQuark ¶
HttpErrorQuark is a wrapper around the C function soup_http_error_quark.
func StatusGetPhrase ¶
StatusGetPhrase is a wrapper around the C function soup_status_get_phrase.
func StrCaseEqual ¶
StrCaseEqual is a wrapper around the C function soup_str_case_equal.
func StrCaseHash ¶
StrCaseHash is a wrapper around the C function soup_str_case_hash.
func URINormalize ¶
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 ¶
ValueHashInsertValue is a wrapper around the C function soup_value_hash_insert_value.
func ValueHashNew ¶
ValueHashNew is a wrapper around the C function soup_value_hash_new.
func XMLRPCErrorQuark ¶
XMLRPCErrorQuark is a wrapper around the C function soup_xmlrpc_error_quark.
func XMLRPCFaultQuark ¶
XMLRPCFaultQuark is a wrapper around the C function soup_xmlrpc_fault_quark.
func XmlrpcBuildFault ¶
XmlrpcBuildFault is a wrapper around the C function soup_xmlrpc_build_fault.
func XmlrpcBuildMethodResponse ¶
XmlrpcBuildMethodResponse is a wrapper around the C function soup_xmlrpc_build_method_response.
func XmlrpcParseMethodCall ¶
XmlrpcParseMethodCall is a wrapper around the C function soup_xmlrpc_parse_method_call.
func XmlrpcParseMethodResponse ¶
XmlrpcParseMethodResponse is a wrapper around the C function soup_xmlrpc_parse_method_response.
func XmlrpcSetFault ¶
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 ¶
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 CastToAddress ¶
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 ¶
Equals compares this Address with another Address, and returns true if they represent the same GObject.
func (*Address) GetPhysical ¶
GetPhysical is a wrapper around the C function soup_address_get_physical.
func (*Address) GetSockaddr ¶
GetSockaddr is a wrapper around the C function soup_address_get_sockaddr.
func (*Address) IsResolved ¶
IsResolved is a wrapper around the C function soup_address_is_resolved.
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
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 AuthNewFromC ¶
func CastToAuth ¶
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 ¶
Authenticate is a wrapper around the C function soup_auth_authenticate.
func (*Auth) Equals ¶
Equals compares this Auth with another Auth, and returns true if they represent the same GObject.
func (*Auth) FreeProtectionSpace ¶
FreeProtectionSpace is a wrapper around the C function soup_auth_free_protection_space.
func (*Auth) GetAuthorization ¶
GetAuthorization is a wrapper around the C function soup_auth_get_authorization.
func (*Auth) GetProtectionSpace ¶
GetProtectionSpace is a wrapper around the C function soup_auth_get_protection_space.
func (*Auth) GetSavedPassword ¶
GetSavedPassword is a wrapper around the C function soup_auth_get_saved_password.
func (*Auth) GetSavedUsers ¶
GetSavedUsers is a wrapper around the C function soup_auth_get_saved_users.
func (*Auth) GetSchemeName ¶
GetSchemeName is a wrapper around the C function soup_auth_get_scheme_name.
func (*Auth) HasSavedPassword ¶
HasSavedPassword is a wrapper around the C function soup_auth_has_saved_password.
func (*Auth) IsAuthenticated ¶
IsAuthenticated is a wrapper around the C function soup_auth_is_authenticated.
func (*Auth) IsForProxy ¶
IsForProxy is a wrapper around the C function soup_auth_is_for_proxy.
func (*Auth) SavePassword ¶
SavePassword is a wrapper around the C function soup_auth_save_password.
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 ¶
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 BufferNewFromC ¶
func (*Buffer) Equals ¶
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) NewSubbuffer ¶
NewSubbuffer is a wrapper around the C function soup_buffer_new_subbuffer.
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
Cache is a wrapper around the C record SoupCache.
func CacheNewFromC ¶
func CastToCache ¶
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 ¶
Equals compares this Cache with another Cache, and returns true if they represent the same GObject.
func (*Cache) SessionFeature ¶
func (recv *Cache) SessionFeature() *SessionFeature
SessionFeature returns the SessionFeature interface implemented by Cache
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 ¶
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 (*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 ¶
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 ¶
Equals compares this CookieJar with another CookieJar, and returns true if they represent the same GObject.
func (*CookieJar) SessionFeature ¶
func (recv *CookieJar) SessionFeature() *SessionFeature
SessionFeature returns the SessionFeature interface implemented by CookieJar
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 DateNewFromC ¶
func DateNewFromNow ¶
DateNewFromNow is a wrapper around the C function soup_date_new_from_now.
func DateNewFromString ¶
DateNewFromString is a wrapper around the C function soup_date_new_from_string.
func DateNewFromTimeT ¶
DateNewFromTimeT is a wrapper around the C function soup_date_new_from_time_t.
func (*Date) Equals ¶
Equals compares this Date with another Date, and returns true if they represent the same GObject.
func (*Date) ToString ¶
func (recv *Date) ToString(format DateFormat) string
ToString is a wrapper around the C function soup_date_to_string.
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
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 ¶
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 (*Logger) Equals ¶
Equals compares this Logger with another Logger, and returns true if they represent the same GObject.
func (*Logger) SessionFeature ¶
func (recv *Logger) SessionFeature() *SessionFeature
SessionFeature returns the SessionFeature interface implemented by Logger
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
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 ¶
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 ¶
FormRequestNewFromDatalist is a wrapper around the C function soup_form_request_new_from_datalist.
func FormRequestNewFromHash ¶
FormRequestNewFromHash is a wrapper around the C function soup_form_request_new_from_hash.
func MessageNew ¶
MessageNew is a wrapper around the C function soup_message_new.
func MessageNewFromC ¶
func MessageNewFromUri ¶
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 ¶
ContentSniffed is a wrapper around the C function soup_message_content_sniffed.
func (*Message) DisconnectFinished ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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) GotBody ¶
func (recv *Message) GotBody()
GotBody is a wrapper around the C function soup_message_got_body.
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 ¶
IsKeepalive is a wrapper around the C function soup_message_is_keepalive.
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 ¶
SetRequest is a wrapper around the C function soup_message_set_request.
func (*Message) SetResponse ¶
SetResponse is a wrapper around the C function soup_message_set_response.
func (*Message) SetStatusFull ¶
SetStatusFull is a wrapper around the C function soup_message_set_status_full.
func (*Message) Starting ¶
func (recv *Message) Starting()
Starting is a wrapper around the C function soup_message_starting.
func (*Message) WroteBody ¶
func (recv *Message) WroteBody()
WroteBody is a wrapper around the C function soup_message_wrote_body.
func (*Message) WroteBodyData ¶
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 ¶
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 ¶
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 ¶
func (recv *MultipartInputStreamClass) Equals(other *MultipartInputStreamClass) bool
Equals compares this MultipartInputStreamClass with another MultipartInputStreamClass, and returns true if they represent the same GObject.
func (*MultipartInputStreamClass) ToC ¶
func (recv *MultipartInputStreamClass) ToC() unsafe.Pointer
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 ¶
func (recv *MultipartInputStreamPrivate) Equals(other *MultipartInputStreamPrivate) bool
Equals compares this MultipartInputStreamPrivate with another MultipartInputStreamPrivate, and returns true if they represent the same GObject.
func (*MultipartInputStreamPrivate) ToC ¶
func (recv *MultipartInputStreamPrivate) ToC() unsafe.Pointer
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 ¶
func (recv *PasswordManagerInterface) Equals(other *PasswordManagerInterface) bool
Equals compares this PasswordManagerInterface with another PasswordManagerInterface, and returns true if they represent the same GObject.
func (*PasswordManagerInterface) ToC ¶
func (recv *PasswordManagerInterface) ToC() unsafe.Pointer
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 ¶
func (recv *ProxyResolverDefaultClass) Equals(other *ProxyResolverDefaultClass) bool
Equals compares this ProxyResolverDefaultClass with another ProxyResolverDefaultClass, and returns true if they represent the same GObject.
func (*ProxyResolverDefaultClass) ToC ¶
func (recv *ProxyResolverDefaultClass) ToC() unsafe.Pointer
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 ¶
func (recv *ProxyURIResolverInterface) Equals(other *ProxyURIResolverInterface) bool
Equals compares this ProxyURIResolverInterface with another ProxyURIResolverInterface, and returns true if they represent the same GObject.
func (*ProxyURIResolverInterface) ToC ¶
func (recv *ProxyURIResolverInterface) ToC() unsafe.Pointer
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 ¶
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 (*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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
GetListener is a wrapper around the C function soup_server_get_listener.
func (*Server) GetListeners ¶
GetListeners is a wrapper around the C function soup_server_get_listeners.
func (*Server) PauseMessage ¶
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 ¶
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) UnpauseMessage ¶
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 ¶
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 (*Session) Abort ¶
func (recv *Session) Abort()
Abort is a wrapper around the C function soup_session_abort.
func (*Session) CancelMessage ¶
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 ¶
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 ¶
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 ¶
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) PauseMessage ¶
PauseMessage is a wrapper around the C function soup_session_pause_message.
func (*Session) RequeueMessage ¶
RequeueMessage is a wrapper around the C function soup_session_requeue_message.
func (*Session) SendMessage ¶
SendMessage is a wrapper around the C function soup_session_send_message.
func (*Session) UnpauseMessage ¶
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 ¶
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 ¶
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 (*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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
Equals compares this Socket with another Socket, and returns true if they represent the same GObject.
func (*Socket) GetLocalAddress ¶
GetLocalAddress is a wrapper around the C function soup_socket_get_local_address.
func (*Socket) GetRemoteAddress ¶
GetRemoteAddress is a wrapper around the C function soup_socket_get_remote_address.
func (*Socket) IsConnected ¶
IsConnected is a wrapper around the C function soup_socket_is_connected.
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) 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 ¶
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 URINewFromC ¶
func (*URI) Equals ¶
Equals compares this URI with another URI, and returns true if they represent the same GObject.
func (*URI) NewWithBase ¶
NewWithBase is a wrapper around the C function soup_uri_new_with_base.
func (*URI) SetFragment ¶
SetFragment is a wrapper around the C function soup_uri_set_fragment.
func (*URI) SetPassword ¶
SetPassword is a wrapper around the C function soup_uri_set_password.
func (*URI) SetQueryFromForm ¶
SetQueryFromForm is a wrapper around the C function soup_uri_set_query_from_form.
func (*URI) UsesDefaultPort ¶
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 ¶
func (recv *WebsocketConnectionPrivate) Equals(other *WebsocketConnectionPrivate) bool
Equals compares this WebsocketConnectionPrivate with another WebsocketConnectionPrivate, and returns true if they represent the same GObject.
func (*WebsocketConnectionPrivate) ToC ¶
func (recv *WebsocketConnectionPrivate) ToC() unsafe.Pointer
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 )