Session
Class
constructor
parent
Class
name
auth
Required
authenticate
cancel
Message
flush
Queue
kick
queue
Message
request
Started
requeue
Message
send
Message
NODE-GTK API Reference
Soup-2.4
Soup
SessionClass
Class SessionClass
Hierarchy
SessionClass
Index
Constructors
constructor
Properties
parent
Class
name
Methods
auth
Required
authenticate
cancel
Message
flush
Queue
kick
queue
Message
request
Started
requeue
Message
send
Message
Constructors
constructor
new
Session
Class
(
)
:
Soup
.
SessionClass
Returns
Soup
.
SessionClass
Properties
parent
Class
parent
Class
:
GObject
.
ObjectClass
Static
name
name
:
string
Methods
auth
Required
auth
Required
(
session
:
Soup
.
Session
, msg
:
Soup
.
Message
, auth
:
Soup
.
Auth
, retrying
:
boolean
)
:
void
Parameters
session:
Soup
.
Session
msg:
Soup
.
Message
auth:
Soup
.
Auth
retrying:
boolean
Returns
void
authenticate
authenticate
(
session
:
Soup
.
Session
, msg
:
Soup
.
Message
, auth
:
Soup
.
Auth
, retrying
:
boolean
)
:
void
Parameters
session:
Soup
.
Session
msg:
Soup
.
Message
auth:
Soup
.
Auth
retrying:
boolean
Returns
void
cancel
Message
cancel
Message
(
session
:
Soup
.
Session
, msg
:
Soup
.
Message
, statusCode
:
number
)
:
void
Parameters
session:
Soup
.
Session
msg:
Soup
.
Message
statusCode:
number
Returns
void
flush
Queue
flush
Queue
(
session
:
Soup
.
Session
)
:
void
Parameters
session:
Soup
.
Session
Returns
void
kick
kick
(
session
:
Soup
.
Session
)
:
void
Parameters
session:
Soup
.
Session
Returns
void
queue
Message
queue
Message
(
session
:
Soup
.
Session
, msg
:
Soup
.
Message
, callback
:
Soup
.
SessionCallback
)
:
void
Parameters
session:
Soup
.
Session
msg:
Soup
.
Message
callback:
Soup
.
SessionCallback
Returns
void
request
Started
request
Started
(
session
:
Soup
.
Session
, msg
:
Soup
.
Message
, socket
:
Soup
.
Socket
)
:
void
Parameters
session:
Soup
.
Session
msg:
Soup
.
Message
socket:
Soup
.
Socket
Returns
void
requeue
Message
requeue
Message
(
session
:
Soup
.
Session
, msg
:
Soup
.
Message
)
:
void
Parameters
session:
Soup
.
Session
msg:
Soup
.
Message
Returns
void
send
Message
send
Message
(
session
:
Soup
.
Session
, msg
:
Soup
.
Message
)
:
number
Parameters
session:
Soup
.
Session
msg:
Soup
.
Message
Returns
number
Session
Class
constructor
parent
Class
name
auth
Required
authenticate
cancel
Message
flush
Queue
kick
queue
Message
request
Started
requeue
Message
send
Message
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJTb3VwXzJfNC5Tb3VwLlNlc3Npb25DbGFzcy5odG1sI2NvbnN0cnVjdG9yIiwibmFtZSI6ImNvbnN0cnVjdG9yIiwiY2hpbGRyZW4iOltdLCJpc0V4dGVybiI6ZmFsc2UsImlzSW50ZXJuIjp0cnVlfSx7ImNsYXNzTmFtZXMiOiJ0c2Qta2luZC1wcm9wZXJ0eSB0c2QtcGFyZW50LWtpbmQtY2xhc3MiLCJocmVmIjoiU291cF8yXzQuU291cC5TZXNzaW9uQ2xhc3MuaHRtbCNwYXJlbnRDbGFzcyIsIm5hbWUiOiJwYXJlbnRDbGFzcyIsImNoaWxkcmVuIjpbXSwiaXNFeHRlcm4iOmZhbHNlLCJpc0ludGVybiI6dHJ1ZX0seyJjbGFzc05hbWVzIjoidHNkLWtpbmQtcHJvcGVydHkgdHNkLXBhcmVudC1raW5kLWNsYXNzIHRzZC1pcy1zdGF0aWMiLCJocmVmIjoiU291cF8yXzQuU291cC5TZXNzaW9uQ2xhc3MuaHRtbCNuYW1lIiwibmFtZSI6Im5hbWUiLCJjaGlsZHJlbiI6W10sImlzRXh0ZXJuIjpmYWxzZSwiaXNJbnRlcm4iOnRydWV9LHsiY2xhc3NOYW1lcyI6InRzZC1raW5kLW1ldGhvZCB0c2QtcGFyZW50LWtpbmQtY2xhc3MiLCJocmVmIjoiU291cF8yXzQu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