# mcorest_api_request_from_stream

Return the MCO EWS HTTP request request associated with the stream.

### For an overview see page Web Services

### Prototype

        MCOREST_API mcohs_request_h mcorest_api_request_from_stream(mcorest_api_stream_t *s);

### Arguments

s | The `mcorest_api_stream_t` bound to a MCO EWS HTTP request

### Description

> This function returns the MCO EWS HTTP request request associated with the stream.

### Return Codes

mcohs_request_h | A pointer to the MCO EWS HTTP request

### Files

Header file:
mcorestapi.h
Source file:
mcorestapi.c
Library:
libmcorest.a