Jump to main content

##

# TCPIP_HTTP_NET_ConnectionFileGet Function

## C

    SYS_FS_HANDLE TCPIP_HTTP_NET_ConnectionFileGet(
        TCPIP_HTTP_NET_CONN_HANDLE connHandle
    );

## Description

This function returns the handle of the current HTTP connection file.

## Preconditions

None.

## Parameters

Parameters | Description
--- | ---
connHandle | HTTP connection handle.

## Returns

- Handle to File System file belonging to the connection defined by connHandle.

## Remarks

None.

## Example

    uint8_t myBuff[20];

    // Get the file handle and read from that file
    SYS_FS_FileRead(myBuff, sizeof(myBuff), TCPIP_HTTP_NET_ConnectionFileGet(connHandle));