summaryrefslogtreecommitdiff
path: root/docs
Commit message (Collapse)AuthorAgeFilesLines
* docs: Fix stream type for soup_message_set_request_body in migration guide Patrick Griffis2021-12-171-1/+1
| | | #255
* 3.0.03.0.0Patrick Griffis2021-09-181-1/+1
|
* ci: Install glib and libsoup2 documentation for websitePatrick Griffis2021-09-171-1/+1
|
* docs: g_uri_to_string -> g_uri_to_string_partialJens Georg2021-07-261-1/+1
| | | | g_uri_to_string does not take two parameters
* docs: Rewrite client certificate examplePatrick Griffis2021-07-141-51/+19
|
* message: add API to get TLS ciphersuite name and protocol versionCarlos Garcia Campos2021-07-081-0/+2
|
* server: add support for client side certificatesCarlos Garcia Campos2021-06-151-0/+4
|
* server: remove soup_server_set_ssl_cert_file()Carlos Garcia Campos2021-06-151-1/+2
| | | | | | It's changing a construct-only property by providing API to create a GTlsCertificate. This patch makes SoupServer:tls-certificate a readable and writable property and adds a public getter and setter.
* message: make soup_message_set_method publicCarlos Garcia Campos2021-06-071-0/+1
| | | | | It's a public readwrite property, so there no reason for the getter to be private.
* headers: stop interning all header namesCarlos Garcia Campos2021-06-041-0/+2
| | | | | | | | | | | | | | To still optimize the headers handling we now follow an approach similar to the WebKit one. We use gperf to generate a fast conversion from commonly used name headers to an enum value. Headers are now stored in two arrays, one for common headers where the enum value is used as the name, and another one for uncommon headers where the name string is stored duplicated and g_ascii_strcasecmp() is used for comparisons. Both arrays are created on demand with preallocated space for 6 headers. This changes a bit the order in which headers are iterated, because we iterate the common headers first and then the uncommon ones. Fixes #111
* message: add API to handle password protected client certificatesCarlos Garcia Campos2021-06-021-0/+1
| | | | | Implement GTlsInteraction::ask_password to expose another signal in SoupMessage to ask the user for ther password.
* message: add API to handle client side certificatesCarlos Garcia Campos2021-06-022-0/+2
| | | | | | | | When SoupSession doesn't have a GTlsInteraction set, SoupMessage can handle client side certificates. A new signal request-certificate is emitted when the connection requests a certificate and soup_message_set_tls_client_certificate() can be called to complete the request.
* session: Forbid multiple features of the same type to be addedPatrick Griffis2021-05-271-1/+0
| | | | | This can cause accidental conflicts and doesn't seem to be valuable with the current features.
* Add initial HTTP2 backendPatrick Griffis2021-05-161-0/+2
|
* docs: Minor typo fixesPatrick Griffis2021-05-151-6/+6
|
* sniffer: remove unused bytes for sniffing from SoupMessageCarlos Garcia Campos2021-05-141-1/+0
| | | | | | It's set by the sniffer but never used. Also remove soup_content_sniffer_get_buffer_size() that is only used by sniffer stream and always returns 512
* meson: Fix generation of gtk-doc documents and enable it in CIDiego Pino Garcia2021-05-101-1/+1
| | | | | | | | | | It seem Gtk-doc doesn't interpret escaped parenthesis in 'ignore-decorators' as parenthesis characters, but as grouping operators. What is happening is that the regular expression for matching strings like 'SOUP_DEPRECATED_IN_3_0_FOR(f)' is doing an extra matching, causing an error in parsing. Gtk-doc has code in place for expanding an ignore-decorator expression using parenthesis to '\(\w*\)'.
* message: add API to get the remote address of a SoupMessageCarlos Garcia Campos2021-04-301-0/+1
|
* Rename SoupClientMessageIOData as SoupClientMessageIOHTTP1Carlos Garcia Campos2021-04-301-0/+1
|
* Turn soup-message-io into an interfaceCarlos Garcia Campos2021-04-302-0/+3
|
* Pull SoupMessageIOSource into its own filePatrick Griffis2021-04-271-0/+1
|
* message: rename tls-certificate and tls-certificate-errors propertiesCarlos Garcia Campos2021-04-201-2/+2
| | | | | | As tls-peer-certificate and tls-peer-certificate-errors. It's consistent with GLib API and will avoid confusion with client side certificates when support is added.
* docs: Add clarification on threadingwip/docs-threadingPatrick Griffis2021-04-171-0/+6
|
* metrics: add support for size metricsCarlos Garcia Campos2021-04-141-0/+7
|
* Add support for collecting metricsCarlos Garcia Campos2021-04-143-0/+28
|
* Add soup_message_get_connection_id() APIPatrick Griffis2021-04-091-0/+1
| | | | This is useful for WebKit to show in its inspector for easy debugging.
* message: rename options-ping property as is-options-pingCarlos Garcia Campos2021-03-291-0/+4
| | | | And add public getter, setter and constructor.
* Rename soup_message_headers_free as soup_message_headers_unrefCarlos Garcia Campos2021-03-261-1/+2
| | | | | And soup_message_headers_copy as soup_message_headers_ref that is now public.
* server: rename soup_message_body_free as soup_message_body_unrefCarlos Garcia Campos2021-03-261-1/+2
| | | | And copy() as ref() that is now public.
* docs: fix documentation errorsCarlos Garcia Campos2021-03-261-1/+0
|
* docs: Remove outdated logging notePatrick Griffis2021-03-111-4/+0
|
* logger: re-add support for logging request/response bodiesDaniel Kolesa2021-03-092-0/+4
|
* Remove 2.99 version macrosPatrick Griffis2021-03-051-4/+0
| | | | The first API will be 3.0
* Add a method to override the remote connection.Robert Ancell2021-03-051-0/+1
| | | | | | This allows using a Unix socket to communicate on. Fixes https://gitlab.gnome.org/GNOME/libsoup/-/issues/75
* Add new api to preconnect to a given uriCarlos Garcia Campos2021-03-051-0/+3
| | | | | | A new connection is started that can be reused by a future request for the same host. This is needed by WebKit to implement link preconnect https://w3c.github.io/resource-hints/#preconnect
* session: remove the basic APIsCarlos Garcia Campos2021-03-043-31/+36
| | | | | | | Now that we have soup_session_send_and_read() the only difference is that we need to build a SoupMessage first. Fixes #216
* session: add soup_session_get_async_result_messagecarlosgc/async-result-messageCarlos Garcia Campos2021-03-041-0/+1
| | | | | This is useful to get the SoupMessage of an async operation from the ready callback.
* session: add soup_session_send_and_read APIscarlosgc/send_and_readCarlos Garcia Campos2021-03-031-0/+3
| | | | | | This is convenient API to send a message and read its body into a GBytes. This should replace the basic APIs since it covers the same use case, but using a SoupMessage instead of a URI and with ore flexibility.
* Remove SoupMessageQueuecarlosgc/session-queueCarlos Garcia Campos2021-02-261-1/+1
| | | | | We can just use a GQueue instead now that we don't try to support multiple threads
* 2.99.12.99.1Patrick Griffis2021-02-232-8/+8
|
* session: add public getters and setters for the SoupSession propertiesCarlos Garcia Campos2021-02-231-0/+20
| | | | | Also make max-conns and max-conns-per-host construct only and ensure all setters emit the GObject::notify signal when the value changes.
* docs: Remove incorrect redirect docsPatrick Griffis2021-02-222-39/+0
| | | | These changes never happened.
* Remove http and https aliases supportCarlos Garcia Campos2021-02-112-24/+0
| | | | | It doesn't seem to be used. If needed we can just bring it back in the future.
* docs: Update server docsPatrick Griffis2021-01-092-24/+17
|
* Add soup_server_message_get_reason_phrase() to match SoupMessagePatrick Griffis2021-01-091-0/+1
|
* docs: Various changes from feedbackPatrick Griffis2021-01-092-53/+36
|
* docs: add more 2.90 missing symbols to sections.txtCarlos Garcia Campos2021-01-071-0/+3
|
* docs: add SOUP_VERSION_2_90 symbol to sections.txtCarlos Garcia Campos2021-01-071-0/+1
|
* Remove soup_uri_get_port_with_default()Patrick Griffis2020-12-131-2/+0
| | | | The latest GLib handles this for us
* docs: More progress on improving tutorialPatrick Griffis2020-12-087-97/+573
|