Overview   Project   Class   Tree   Index 
CEF3 C++ API Docs - Version 75.1.4+g4210896+chromium-75.0.3770.100
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

(default)
Class CefStreamResourceHandler

CefBaseRefCounted
   |
   +--CefResourceHandler
         |
         +--CefStreamResourceHandler

   in cef_stream_resource_handler.h

class CefStreamResourceHandler
extends CefResourceHandler

Implementation of the CefResourceHandler class for reading from a CefStream.


Constructor Summary
CefStreamResourceHandler( int status_code, const CefString& status_text, const CefString& mime_type, CefResponse::HeaderMap header_map, CefRefPtr< CefStreamReader > stream )
          Create a new object with explicit response values.
CefStreamResourceHandler( const CefString& mime_type, CefRefPtr< CefStreamReader > stream )
          Create a new object with default response values.
virtual ~CefStreamResourceHandler()
          
 
Method Summary
 virtual void Cancel() OVERRIDE
          
 virtual void GetResponseHeaders( CefRefPtr< CefResponse > response, int64& response_length, CefString& redirectUrl ) OVERRIDE
          
 virtual bool ProcessRequest( CefRefPtr< CefRequest > request, CefRefPtr< CefCallback > callback ) OVERRIDE
          
 virtual bool ReadResponse( void* data_out, int bytes_to_read, int& bytes_read, CefRefPtr< CefCallback > callback ) OVERRIDE
          
   
Methods inherited from class CefResourceHandler
Open, ProcessRequest, GetResponseHeaders, Skip, Read, ReadResponse, Cancel
   
Methods inherited from class CefBaseRefCounted
AddRef, Release, HasOneRef, HasAtLeastOneRef
 

Constructor Detail

CefStreamResourceHandler

public CefStreamResourceHandler( int status_code, const CefString& status_text, const CefString& mime_type, CefResponse::HeaderMap header_map, CefRefPtr< CefStreamReader > stream );
Create a new object with explicit response values.

CefStreamResourceHandler

public CefStreamResourceHandler( const CefString& mime_type, CefRefPtr< CefStreamReader > stream );
Create a new object with default response values.

~CefStreamResourceHandler

public virtual ~CefStreamResourceHandler();


Method Detail

Cancel

public virtual void Cancel() OVERRIDE;

GetResponseHeaders

public virtual void GetResponseHeaders( CefRefPtr< CefResponse > response, int64& response_length, CefString& redirectUrl ) OVERRIDE;

ProcessRequest

public virtual bool ProcessRequest( CefRefPtr< CefRequest > request, CefRefPtr< CefCallback > callback ) OVERRIDE;

ReadResponse

public virtual bool ReadResponse( void* data_out, int bytes_to_read, int& bytes_read, CefRefPtr< CefCallback > callback ) OVERRIDE;

 Overview   Project   Class   Tree   Index 
CEF3 C++ API Docs - Version 75.1.4+g4210896+chromium-75.0.3770.100
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

Chromium Embedded Framework (CEF) Copyright © 2016 Marshall A. Greenblatt