docs: Move the GTlsConnection SECTION

Move it to the struct docs.

Signed-off-by: Philip Withnall <pwithnall@gnome.org>

Helps: #3037
This commit is contained in:
Philip Withnall 2023-11-14 14:19:33 +00:00
parent 2abbaac589
commit 8af86abefb

View File

@ -33,26 +33,16 @@
#include "glibintl.h"
#include "gmarshal-internal.h"
/**
* SECTION:gtlsconnection
* @short_description: TLS connection type
* @include: gio/gio.h
*
* #GTlsConnection is the base TLS connection class type, which wraps
* a #GIOStream and provides TLS encryption on top of it. Its
* subclasses, #GTlsClientConnection and #GTlsServerConnection,
* implement client-side and server-side TLS, respectively.
*
* For DTLS (Datagram TLS) support, see #GDtlsConnection.
*
* Since: 2.28
*/
/**
* GTlsConnection:
*
* Abstract base class for the backend-specific #GTlsClientConnection
* and #GTlsServerConnection types.
* `GTlsConnection` is the base TLS connection class type, which wraps
* a [class@Gio.IOStream] and provides TLS encryption on top of it. Its
* subclasses, [iface@Gio.TlsClientConnection] and
* [iface@Gio.TlsServerConnection], implement client-side and server-side TLS,
* respectively.
*
* For DTLS (Datagram TLS) support, see [iface@Gio.DtlsConnection].
*
* Since: 2.28
*/