ghttp_parser_received()

ghttp_parser_received()#

Handle received HTTP data for parsing.

Prototype

PUBLIC int ghttp_parser_received(
    const char  *data,
    size_t       size
);
        

Parameters

Key

Type

Description

data

const char *

The HTTP data received.

size

size_t

The size of the HTTP data.


Return Value

Returns 0 on success, or a negative value on failure.

Prototype

// Not applicable in JS

Prototype

# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples