Session
Class
constructor
parent_
class
name
auth_
required
authenticate
cancel_
message
flush_
queue
kick
queue_
message
request_
started
requeue_
message
send_
message
GJS 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
, status_code
:
number
)
:
void
Parameters
session:
Soup
.
Session
msg:
Soup
.
Message
status_code:
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:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJTb3VwXzJfNC5Tb3VwLlNlc3Npb25DbGFzcy5odG1sI2NvbnN0cnVjdG9yIiwibmFtZSI6ImNvbnN0cnVjdG9yIiwiY2hpbGRyZW4iOltdLCJpc0V4dGVybiI6ZmFsc2UsImlzSW50ZXJuIjp0cnVlfSx7ImNsYXNzTmFtZXMiOiJ0c2Qta2luZC1wcm9wZXJ0eSB0c2QtcGFyZW50LWtpbmQtY2xhc3MiLCJocmVmIjoiU291cF8yXzQuU291cC5TZXNzaW9uQ2xhc3MuaHRtbCNwYXJlbnRfY2xhc3MiLCJuYW1lIjoicGFyZW50X2NsYXNzIiwiY2hpbGRyZW4iOltdLCJpc0V4dGVybiI6ZmFsc2UsImlzSW50ZXJuIjp0cnVlfSx7ImNsYXNzTmFtZXMiOiJ0c2Qta2luZC1wcm9wZXJ0eSB0c2QtcGFyZW50LWtpbmQtY2xhc3MgdHNkLWlzLXN0YXRpYyIsImhyZWYiOiJTb3VwXzJfNC5Tb3VwLlNlc3Npb25DbGFzcy5odG1sI25hbWUiLCJuYW1lIjoibmFtZSIsImNoaWxkcmVuIjpbXSwiaXNFeHRlcm4iOmZhbHNlLCJpc0ludGVybiI6dHJ1ZX0seyJjbGFzc05hbWVzIjoidHNkLWtpbmQtbWV0aG9kIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJTb3VwXzJfN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