Uhm.Message

g GObject.Object GObject.Object Uhm.Message Uhm.Message GObject.Object->Uhm.Message

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

get_http_version ()

get_method ()

get_reason_phrase ()

get_request_body ()

get_request_headers ()

get_response_body ()

get_response_headers ()

get_status ()

get_uri ()

set_http_version (version)

set_status (status, reason_phrase)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Name

Type

Flags

Short Description

method

str

r/w

Method.

uri

GLib.Uri

r/w

URI.

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class Uhm.Message(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

Uhm.MessageClass

get_http_version()
Return type:

Soup.HTTPVersion

get_method()
Return type:

str

get_reason_phrase()
Return type:

str

get_request_body()
Return type:

Soup.MessageBody

get_request_headers()
Return type:

Soup.MessageHeaders

get_response_body()
Return type:

Soup.MessageBody

get_response_headers()
Return type:

Soup.MessageHeaders

get_status()
Return type:

int

get_uri()
Return type:

GLib.Uri

set_http_version(version)
Parameters:

version (Soup.HTTPVersion) –

set_status(status, reason_phrase)
Parameters:
  • status (int) –

  • reason_phrase (str) –

Property Details

Uhm.Message.props.method
Name:

method

Type:

str

Default Value:

'POST'

Flags:

READABLE, WRITABLE

Method.

Uhm.Message.props.uri
Name:

uri

Type:

GLib.Uri

Default Value:

None

Flags:

READABLE, WRITABLE

URI.