HttpStreamResponseAdapter

Inherits from IAsyncResourceResponse

Public Functions

Name
HttpStreamResponseAdapter(cohtml::IAsyncResourceStreamResponse * Response)
virtual voidReceiveUserImage(const UserImageData & ) override
virtual voidReceiveOptimizedData(const cohtml::DataBuffer * optimizedData) override
virtual voidSignalProgress() override
virtual voidSetResponseURL(const char * ) override
virtual voidSetHeader(const char * , const char * ) override
virtual void *GetSpace(unsigned long long size) override
virtual voidSetStatus(unsigned short Status) override
virtual voidFinish(cohtml::IAsyncResourceResponse::Status Status) override

Public Functions Documentation

function HttpStreamResponseAdapter

inline HttpStreamResponseAdapter(
    cohtml::IAsyncResourceStreamResponse * Response
)

function ReceiveUserImage

inline virtual void ReceiveUserImage(
    const UserImageData & 
) override

function ReceiveOptimizedData

inline virtual void ReceiveOptimizedData(
    const cohtml::DataBuffer * optimizedData
) override

function SignalProgress

inline virtual void SignalProgress() override

function SetResponseURL

inline virtual void SetResponseURL(
    const char * 
) override

function SetHeader

inline virtual void SetHeader(
    const char * ,
    const char * 
) override

function GetSpace

inline virtual void * GetSpace(
    unsigned long long size
) override

function SetStatus

inline virtual void SetStatus(
    unsigned short Status
) override

function Finish

inline virtual void Finish(
    cohtml::IAsyncResourceResponse::Status Status
) override