1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
3 * Copyright (C) 2000-2003, Ximian, Inc.
6 #ifndef SOUP_SESSION_PRIVATE_H
7 #define SOUP_SESSION_PRIVATE_H 1
9 #include "soup-session.h"
10 #include "soup-message-private.h"
11 #include "soup-proxy-uri-resolver.h"
16 /* "protected" methods for subclasses */
17 SoupMessageQueue *soup_session_get_queue (SoupSession *session);
19 SoupMessageQueueItem *soup_session_append_queue_item (SoupSession *session,
23 SoupSessionCallback callback,
26 void soup_session_kick_queue (SoupSession *session);
28 GInputStream *soup_session_send_request (SoupSession *session,
30 GCancellable *cancellable,
33 void soup_session_send_request_async (SoupSession *session,
35 GCancellable *cancellable,
36 GAsyncReadyCallback callback,
38 GInputStream *soup_session_send_request_finish (SoupSession *session,
42 void soup_session_process_queue_item (SoupSession *session,
43 SoupMessageQueueItem *item,
44 gboolean *should_prune,
47 #if ENABLE(TIZEN_CERTIFICATE_FILE_SET)
48 void soup_session_set_certificate_file (SoupSession *session);
49 void soup_session_tls_start_idle_timer (SoupSession *session, guint idle_timeout);
50 void soup_session_tls_stop_idle_timer (SoupSession *session);
51 gboolean soup_session_is_tls_db_initialized (SoupSession* session);
53 #if ENABLE(TIZEN_TV_CREATE_IDLE_TCP_CONNECTION)
54 guint soup_session_get_idle_connection_for_host (SoupSession *session,
60 #endif /* SOUP_SESSION_PRIVATE_H */