Urdl C++ Library

PrevUpHomeNext

istreambuf

The class istreambuf associates the input sequence with the content from a specified URL.

class istreambuf :
  public std::streambuf

Member Functions

Name

Description

close

Closes the stream buffer.

content_length

Gets the length of the content obtained from the URL.

content_type

Gets the MIME type of the content obtained from the URL.

get_option

Gets the current value of an option that controls the behaviour of the stream buffer.

get_options

Gets the values of all options set on the stream.

headers

Gets the protocol-specific headers obtained from the URL.

is_open

Determines whether the stream buffer is open.

istreambuf

Constructs an object of class istreambuf.

open

Opens the specified URL.

open_timeout

Gets the open timeout of the stream buffer.

Sets the open timeout of the stream buffer.

puberror

Gets the last error associated with the stream buffer.

read_timeout

Gets the read timeout of the stream buffer.

Sets the read timeout of the stream buffer.

set_option

Sets an option to control the behaviour of the stream buffer.

set_options

Sets options to control the behaviour of the stream buffer.

~istreambuf

Destroys an object of class istreambuf.

Protected Member Functions

Name

Description

error

Gets the last error associated with the stream.

underflow

Overrides std::streambuf behaviour.

Requirements

Header: <urdl/istreambuf.hpp>

Namespace: urdl


PrevUpHomeNext