VirtualBox

Changeset 51635 in vbox for trunk/include/iprt/http.h


Ignore:
Timestamp:
Jun 17, 2014 3:58:40 PM (10 years ago)
Author:
vboxsync
Message:

introduced RTHttpGetBinary(), renamed RTHttpGet() to RTHttpGetText()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/http.h

    r46070 r51635  
    7272 *                         '\0'-terminated.
    7373 */
    74 RTR3DECL(int) RTHttpGet(RTHTTP hHttp, const char *pcszUrl, char **ppszResponse);
     74RTR3DECL(int) RTHttpGetText(RTHTTP hHttp, const char *pcszUrl, char **ppszResponse);
     75
     76/**
     77 * Perform a simple blocking HTTP request.
     78 *
     79 * @returns iprt status code.
     80 *
     81 * @param    hHttp         HTTP interface handle.
     82 * @param    pcszUrl       URL.
     83 * @param    ppvResponse   HTTP response.
     84 * @param    pcb           Size of the returned buffer.
     85 */
     86RTR3DECL(int) RTHttpGetBinary(RTHTTP hHttp, const char *pcszUrl, void **ppvResponse, size_t *pcb);
    7587
    7688/**
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette