curl_request   xtlang


Defined in:  https://github.com/digego/extempore/tree/v0.8.9/libs/external/curl.xtm

Implementation

(bind-func curl_request
  (let ((handle:CURL null)
        (cdat:curl_dat* (zalloc)))
    (lambda (url:i8* dat:i8*)
      ;; init data structures
      (set! handle (curl_easy_init))
      (tset! cdat 0 dat)
      (tset! cdat 1 0)
      (curl_easy_setopt handle CURLOPT_URL url)
      (curl_setopts_basic handle cdat)
      (curl_perform_request handle cdat))))


Back to Index

Similar Entries

  • curl    macro    /digego/extempore/tree/v0.8.9/libs/contrib/cas.xtm
  • curl_perform_request    xtlang    /digego/extempore/tree/v0.8.9/libs/external/curl.xtm
  • curl_print_version    xtlang    /digego/extempore/tree/v0.8.9/libs/external/curl.xtm
  • curl_request_with_auth    xtlang    /digego/extempore/tree/v0.8.9/libs/external/curl.xtm
  • curl_request_with_header    xtlang    /digego/extempore/tree/v0.8.9/libs/external/curl.xtm
  • curl_setopts_authenticate    xtlang    /digego/extempore/tree/v0.8.9/libs/external/curl.xtm
  • curl_setopts_basic    xtlang    /digego/extempore/tree/v0.8.9/libs/external/curl.xtm
  • curl_setopts_header    xtlang    /digego/extempore/tree/v0.8.9/libs/external/curl.xtm
  • curl_setup    xtlang    /digego/extempore/tree/v0.8.9/libs/external/curl.xtm
  • curl_write_callback    xtlang    /digego/extempore/tree/v0.8.9/libs/external/curl.xtm
  • get_request_handler    xtlang    /digego/extempore/tree/v0.8.9/libs/external/cef/cef.xtm
  • ghttp_copy_request_body_into_buffer    xtlang    /digego/extempore/tree/v0.8.9/libs/external/ghttp.xtm
  • ghttp_perform_request_with_setup_fn    xtlang    /digego/extempore/tree/v0.8.9/libs/external/ghttp.xtm
  • ghttp_print_request_body    xtlang    /digego/extempore/tree/v0.8.9/libs/external/ghttp.xtm
  • ghttp_print_request_full    xtlang    /digego/extempore/tree/v0.8.9/libs/external/ghttp.xtm
  • ghttp_print_request_headers    xtlang    /digego/extempore/tree/v0.8.9/libs/external/ghttp.xtm
  • ghttp_request_body_as_json    xtlang    /digego/extempore/tree/v0.8.9/libs/external/ghttp.xtm
  • request    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/nanomsg.xtm
  • send_request    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/nanomsg-request.xtm
  • set_up_request_socket    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/nanomsg.xtm