Jump to main content

##

# TCPIP_HTTP_NET_ConnectionPeek Function

## C

    uint16_t TCPIP_HTTP_NET_ConnectionPeek(
        TCPIP_HTTP_NET_CONN_HANDLE connHandle,
        void * buffer,
        uint16_t size
    );

## Description

This function allows peeking into the connection buffer. The data will still be available for a next read operation.

## Preconditions

connHandle - a valid HTTP connection.

## Parameters

Parameters | Description
--- | ---
connHandle | Connection handle.
buffer | Destination to write the peeked data bytes.
size | Length of bytes to peek from the connection RX buffer.

## Returns

None .

## Remarks

None.