SourcePro® API Reference Guide

 
List of all members | Public Member Functions | Static Public Member Functions
RWHttpSocketClient Class Reference

Handle class for parent RWHttpClient, providing implementation-specific details for HTTP clients. More...

#include <rw/http/RWHttpSocketClient.h>

Inheritance diagram for RWHttpSocketClient:
RWHttpClient RWHandleBase

Public Member Functions

 RWHttpSocketClient (void)
 
 RWHttpSocketClient (const RWHttpSocketClient &client)
 
virtual ~RWHttpSocketClient ()
 
RWHttpSocketClientoperator= (const RWHttpSocketClient &other)
 
- Public Member Functions inherited from RWHttpClient
 RWHttpClient (void)
 
 RWHttpClient (const RWHttpClient &client)
 
virtual ~RWHttpClient ()
 
void connect (const RWSockAddrBase &address, unsigned long maxwait=0)
 
RWHttpReply getReply (unsigned long maxwait=0)
 
RWHttpReply getReply (RWTFunctor< void(RWPortal)> handler, unsigned long maxwait=0)
 
RWHttpReply getReply (RWTFunctor< void(RWPortal, RWHttpReply &)> handler, unsigned long maxwait=0)
 
bool isConnected () const
 
RWHttpClientoperator= (const RWHttpClient &other)
 
bool submit (RWHttpRequest request, RWHttpPipeline pl=RW_HTTP_FORBID_PIPELINING, unsigned long maxwait=0)
 
- Public Member Functions inherited from RWHandleBase
bool isValid (void) const
 
bool operator!= (const RWHandleBase &second) const
 
bool operator< (const RWHandleBase &second) const
 
bool operator== (const RWHandleBase &second) const
 

Static Public Member Functions

static RWHttpSocketClient make ()
 
static RWHttpSocketClient make (const RWTFunctor< RWSocket(const RWSockAddrBase &, unsigned long)> &f)
 

Additional Inherited Members

- Protected Member Functions inherited from RWHttpClient
 RWHttpClient (RWHttpClientImp *imp)
 
RWHttpClientImp & body () const
 
- Protected Member Functions inherited from RWHandleBase
 RWHandleBase (void)
 
 RWHandleBase (RWStaticCtor)
 
 RWHandleBase (RWBodyBase *body)
 
 RWHandleBase (const RWHandleBase &second)
 
 ~RWHandleBase (void)
 
RWBodyBasebody (void) const
 
RWHandleBaseoperator= (const RWHandleBase &second)
 

Detailed Description

RWHttpSocketClient is a derived handle class for RWHttpClient. It provides implementation specific details for HTTP clients over normal network sockets.

Constructor & Destructor Documentation

RWHttpSocketClient::RWHttpSocketClient ( void  )
inline

Default constructor.

RWHttpSocketClient::RWHttpSocketClient ( const RWHttpSocketClient client)
inline

Copy constructor.

virtual RWHttpSocketClient::~RWHttpSocketClient ( )
virtual

Virtual destructor.

Member Function Documentation

static RWHttpSocketClient RWHttpSocketClient::make ( )
static

Creates a new initialized RWHttpSocketClient.

static RWHttpSocketClient RWHttpSocketClient::make ( const RWTFunctor< RWSocket(const RWSockAddrBase &, unsigned long)> &  f)
static

Creates a new initialized RWHttpSocketClient. The functor f is used by RWHttpClient::connect() to get a socket connected to the provided address.

RWHttpSocketClient & RWHttpSocketClient::operator= ( const RWHttpSocketClient other)
inline

Assignment operator.

Copyright © 2022 Rogue Wave Software, Inc., a Perforce company. All Rights Reserved.