diff options
author | Dan Winship <danw@src.gnome.org> | 2009-03-08 15:05:43 +0000 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2009-03-08 15:05:43 +0000 |
commit | 777915733e447d61afd05e80555d900bb74e6dd2 (patch) | |
tree | 76f9bfba7fbbf5d3ba933e0bf154f1f3f94ff6c0 /libsoup/soup-message.c | |
parent | ea5335e91e36d6897c729f26f66dbc7bdb7b6eb3 (diff) | |
download | libsoup-777915733e447d61afd05e80555d900bb74e6dd2.tar.gz |
gtk-doc updates. In particular, document a bunch of convenience #defines,
* libsoup/*.c: gtk-doc updates. In particular, document a bunch of
convenience #defines, and add "Since" tags where appropriate.
svn path=/trunk/; revision=1246
Diffstat (limited to 'libsoup/soup-message.c')
-rw-r--r-- | libsoup/soup-message.c | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/libsoup/soup-message.c b/libsoup/soup-message.c index dbdc89a0..c7df0d36 100644 --- a/libsoup/soup-message.c +++ b/libsoup/soup-message.c @@ -250,6 +250,8 @@ soup_message_class_init (SoupMessageClass *message_class) * Unlike #SoupMessage::wrote_chunk, this is emitted after * every successful write() call, not only after finishing a * complete "chunk". + * + * Since: 2.4.1 **/ signals[WROTE_BODY_DATA] = g_signal_new ("wrote_body_data", @@ -424,6 +426,12 @@ soup_message_class_init (SoupMessageClass *message_class) G_TYPE_NONE, 0); /* properties */ + /** + * SOUP_MESSAGE_METHOD: + * + * Alias for the #SoupMessage:method property. (The message's + * HTTP method.) + **/ g_object_class_install_property ( object_class, PROP_METHOD, g_param_spec_string (SOUP_MESSAGE_METHOD, @@ -431,6 +439,12 @@ soup_message_class_init (SoupMessageClass *message_class) "The message's HTTP method", SOUP_METHOD_GET, G_PARAM_READWRITE)); + /** + * SOUP_MESSAGE_URI: + * + * Alias for the #SoupMessage:uri property. (The message's + * #SoupURI.) + **/ g_object_class_install_property ( object_class, PROP_URI, g_param_spec_boxed (SOUP_MESSAGE_URI, @@ -438,6 +452,12 @@ soup_message_class_init (SoupMessageClass *message_class) "The message's Request-URI", SOUP_TYPE_URI, G_PARAM_READWRITE)); + /** + * SOUP_MESSAGE_HTTP_VERSION: + * + * Alias for the #SoupMessage:http-version property. (The + * message's #SoupHTTPVersion.) + **/ g_object_class_install_property ( object_class, PROP_HTTP_VERSION, g_param_spec_enum (SOUP_MESSAGE_HTTP_VERSION, @@ -446,6 +466,12 @@ soup_message_class_init (SoupMessageClass *message_class) SOUP_TYPE_HTTP_VERSION, SOUP_HTTP_1_1, G_PARAM_READWRITE)); + /** + * SOUP_MESSAGE_FLAGS: + * + * Alias for the #SoupMessage:flags property. (The message's + * #SoupMessageFlags.) + **/ g_object_class_install_property ( object_class, PROP_FLAGS, g_param_spec_flags (SOUP_MESSAGE_FLAGS, @@ -454,6 +480,12 @@ soup_message_class_init (SoupMessageClass *message_class) SOUP_TYPE_MESSAGE_FLAGS, 0, G_PARAM_READWRITE)); + /** + * SOUP_MESSAGE_SERVER_SIDE: + * + * Alias for the #SoupMessage:server-side property. (%TRUE if + * the message was created by #SoupServer.) + **/ g_object_class_install_property ( object_class, PROP_SERVER_SIDE, g_param_spec_boolean (SOUP_MESSAGE_SERVER_SIDE, @@ -461,6 +493,12 @@ soup_message_class_init (SoupMessageClass *message_class) "Whether or not the message is server-side rather than client-side", FALSE, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); + /** + * SOUP_MESSAGE_STATUS_CODE: + * + * Alias for the #SoupMessage:status-code property. (The + * message's HTTP response status code.) + **/ g_object_class_install_property ( object_class, PROP_STATUS_CODE, g_param_spec_uint (SOUP_MESSAGE_STATUS_CODE, @@ -468,6 +506,12 @@ soup_message_class_init (SoupMessageClass *message_class) "The HTTP response status code", 0, 599, 0, G_PARAM_READWRITE)); + /** + * SOUP_MESSAGE_REASON_PHRASE: + * + * Alias for the #SoupMessage:reason-phrase property. (The + * message's HTTP response reason phrase.) + **/ g_object_class_install_property ( object_class, PROP_REASON_PHRASE, g_param_spec_string (SOUP_MESSAGE_REASON_PHRASE, @@ -1325,6 +1369,8 @@ soup_message_get_uri (SoupMessage *msg) * session will resolve it before sending the message. * * Return value: the address @msg's URI points to + * + * Since: 2.26 **/ SoupAddress * soup_message_get_address (SoupMessage *msg) |