Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Static Public Member Functions | Static Public Attributes
nsNSSHttpInterface Class Reference

#include <nsNSSCallbacks.h>

Collaboration diagram for nsNSSHttpInterface:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void registerHttpClient ()
void unregisterHttpClient ()

Static Public Member Functions

static SECStatus createSessionFcn (const char *host, PRUint16 portnum, SEC_HTTP_SERVER_SESSION *pSession)
static SECStatus keepAliveFcn (SEC_HTTP_SERVER_SESSION session, PRPollDesc **pPollDesc)
static SECStatus freeSessionFcn (SEC_HTTP_SERVER_SESSION session)
static SECStatus createFcn (SEC_HTTP_SERVER_SESSION session, const char *http_protocol_variant, const char *path_and_query_string, const char *http_request_method, const PRIntervalTime timeout, SEC_HTTP_REQUEST_SESSION *pRequest)
static SECStatus setPostDataFcn (SEC_HTTP_REQUEST_SESSION request, const char *http_data, const PRUint32 http_data_len, const char *http_content_type)
static SECStatus addHeaderFcn (SEC_HTTP_REQUEST_SESSION request, const char *http_header_name, const char *http_header_value)
static SECStatus trySendAndReceiveFcn (SEC_HTTP_REQUEST_SESSION request, PRPollDesc **pPollDesc, PRUint16 *http_response_code, const char **http_response_content_type, const char **http_response_headers, const char **http_response_data, PRUint32 *http_response_data_len)
static SECStatus cancelFcn (SEC_HTTP_REQUEST_SESSION request)
static SECStatus freeFcn (SEC_HTTP_REQUEST_SESSION request)
static void initTable ()

Static Public Attributes

static SEC_HttpClientFcn sNSSInterfaceTable

Detailed Description

Definition at line 153 of file nsNSSCallbacks.h.


Member Function Documentation

static SECStatus nsNSSHttpInterface::addHeaderFcn ( SEC_HTTP_REQUEST_SESSION  request,
const char *  http_header_name,
const char *  http_header_value 
) [inline, static]

Definition at line 198 of file nsNSSCallbacks.h.

  {
    return NS_STATIC_CAST(nsNSSHttpRequestSession*, request)
            ->addHeaderFcn(http_header_name, http_header_value);
  }

Here is the caller graph for this function:

Definition at line 219 of file nsNSSCallbacks.h.

  {
    return NS_STATIC_CAST(nsNSSHttpRequestSession*, request)
            ->cancelFcn();
  }

Here is the caller graph for this function:

static SECStatus nsNSSHttpInterface::createFcn ( SEC_HTTP_SERVER_SESSION  session,
const char *  http_protocol_variant,
const char *  path_and_query_string,
const char *  http_request_method,
const PRIntervalTime  timeout,
SEC_HTTP_REQUEST_SESSION pRequest 
) [inline, static]

Definition at line 177 of file nsNSSCallbacks.h.

  {
    return nsNSSHttpRequestSession::createFcn(session, http_protocol_variant,
                                     path_and_query_string, http_request_method, 
                                     timeout, pRequest);
  }

Here is the caller graph for this function:

static SECStatus nsNSSHttpInterface::createSessionFcn ( const char *  host,
PRUint16  portnum,
SEC_HTTP_SERVER_SESSION pSession 
) [inline, static]

Definition at line 156 of file nsNSSCallbacks.h.

  {
    return nsNSSHttpServerSession::createSessionFcn(host, portnum, pSession);
  }

Here is the caller graph for this function:

static SECStatus nsNSSHttpInterface::freeFcn ( SEC_HTTP_REQUEST_SESSION  request) [inline, static]

Definition at line 225 of file nsNSSCallbacks.h.

  {
    return NS_STATIC_CAST(nsNSSHttpRequestSession*, request)
            ->freeFcn();
  }

Here is the caller graph for this function:

Definition at line 171 of file nsNSSCallbacks.h.

Here is the caller graph for this function:

static SECStatus nsNSSHttpInterface::keepAliveFcn ( SEC_HTTP_SERVER_SESSION  session,
PRPollDesc **  pPollDesc 
) [inline, static]

Definition at line 163 of file nsNSSCallbacks.h.

  {
    // Not yet implemented, however, Necko does transparent keep-alive 
    // anyway, when enabled in Necko's prefs.
    return SECSuccess;
  }

Here is the caller graph for this function:

Definition at line 531 of file nsNSSCallbacks.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

static SECStatus nsNSSHttpInterface::setPostDataFcn ( SEC_HTTP_REQUEST_SESSION  request,
const char *  http_data,
const PRUint32  http_data_len,
const char *  http_content_type 
) [inline, static]

Definition at line 189 of file nsNSSCallbacks.h.

  {
    return NS_STATIC_CAST(nsNSSHttpRequestSession*, request)
            ->setPostDataFcn(http_data, http_data_len, http_content_type);
  }

Here is the caller graph for this function:

static SECStatus nsNSSHttpInterface::trySendAndReceiveFcn ( SEC_HTTP_REQUEST_SESSION  request,
PRPollDesc **  pPollDesc,
PRUint16 http_response_code,
const char **  http_response_content_type,
const char **  http_response_headers,
const char **  http_response_data,
PRUint32 http_response_data_len 
) [inline, static]

Definition at line 206 of file nsNSSCallbacks.h.

  {
    return NS_STATIC_CAST(nsNSSHttpRequestSession*, request)
            ->trySendAndReceiveFcn(pPollDesc, http_response_code, http_response_content_type, 
                     http_response_headers, http_response_data, http_response_data_len);
  }

Here is the caller graph for this function:

Definition at line 536 of file nsNSSCallbacks.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 232 of file nsNSSCallbacks.h.


The documentation for this class was generated from the following files: