Request
Class
constructor
parent
schemes
name
check_
uri
get_
content_
length
get_
content_
type
send
send_
async
send_
finish
GJS API Reference
Soup-2.4
Soup
RequestClass
Class RequestClass
Hierarchy
RequestClass
Index
Constructors
constructor
Properties
parent
schemes
name
Methods
check_
uri
get_
content_
length
get_
content_
type
send
send_
async
send_
finish
Constructors
constructor
new
Request
Class
(
)
:
RequestClass
Returns
RequestClass
Properties
parent
parent
:
GObject
.
ObjectClass
schemes
schemes
:
string
Static
name
name
:
string
Methods
check_
uri
check_
uri
(
req_base
:
Request
, uri
:
Soup
.
URI
)
:
boolean
Parameters
req_base:
Request
uri:
Soup
.
URI
Returns
boolean
get_
content_
length
get_
content_
length
(
request
:
Request
)
:
number
Parameters
request:
Request
Returns
number
get_
content_
type
get_
content_
type
(
request
:
Request
)
:
string
Parameters
request:
Request
Returns
string
send
send
(
request
:
Request
, cancellable
:
Gio
.
Cancellable
)
:
Gio
.
InputStream
Parameters
request:
Request
cancellable:
Gio
.
Cancellable
Returns
Gio
.
InputStream
send_
async
send_
async
(
request
:
Request
, cancellable
:
Gio
.
Cancellable
, callback
:
AsyncReadyCallback
)
:
void
Parameters
request:
Request
cancellable:
Gio
.
Cancellable
callback:
AsyncReadyCallback
Returns
void
send_
finish
send_
finish
(
request
:
Request
, result
:
AsyncResult
)
:
Gio
.
InputStream
Parameters
request:
Request
result:
AsyncResult
Returns
Gio
.
InputStream
Request
Class
constructor
parent
schemes
name
check_
uri
get_
content_
length
get_
content_
type
send
send_
async
send_
finish
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJTb3VwXzJfNC5Tb3VwLlJlcXVlc3RDbGFzcy5odG1sI2NvbnN0cnVjdG9yIiwibmFtZSI6ImNvbnN0cnVjdG9yIiwiY2hpbGRyZW4iOltdLCJpc0V4dGVybiI6ZmFsc2UsImlzSW50ZXJu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