Allows to configure the handler to be executed to alloc memory for the axl_stream_get_until* API.
- Parameters:
-
| stream | The stream to configure with the alloc function. |
| handler | The handler to be called when the streams requires to alloc memory. |
| data | User defined pointer to be called to the allocator function defined by the handler parameter. |