send_request   xtlang


Defined in:  https://github.com/digego/extempore/tree/v0.8.9/examples/contrib/nanomsg-request.xtm

Implementation

(bind-func send_request
  (lambda (msg)
    (let ((msglen (+ (strlen msg) 1))
          (bytes (nn_send REQUEST_SOCKET msg msglen 0)))
      (if (or (< bytes 0) (< bytes (convert msglen)))
          (nn_println_strerror)
          void))))


Back to Index

Similar Entries

  • curl_perform_request    xtlang    /digego/extempore/tree/v0.8.9/libs/external/curl.xtm
  • curl_request    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
  • 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
  • io:osc:send    scheme    /digego/extempore/tree/v0.8.9/runtime/scheme.xtm
  • my_osc_send    xtlang    /digego/extempore/tree/v0.8.9/examples/core/osc_101.xtm
  • nnsock_set_send_timeout    xtlang    /digego/extempore/tree/v0.8.9/libs/external/nanomsg.xtm
  • osc_send_one_double    xtlang    /digego/extempore/tree/v0.8.9/libs/core/topclock.xtm
  • osc_send_two_double    xtlang    /digego/extempore/tree/v0.8.9/libs/core/topclock.xtm
  • pm_send    xtlang    /digego/extempore/tree/v0.8.9/libs/external/portmidi.xtm
  • request    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/nanomsg.xtm
  • rtmidi_send    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/rtmidi.xtm
  • send-fluid-column-osc    xtlang    /digego/extempore/tree/v0.8.9/libs/external/fluid2d.xtm
  • send-fluid-first-column-osc    xtlang    /digego/extempore/tree/v0.8.9/libs/external/fluid2d.xtm
  • send-fluid-first-row-osc    xtlang    /digego/extempore/tree/v0.8.9/libs/external/fluid2d.xtm
  • send-fluid-last-row-osc    xtlang    /digego/extempore/tree/v0.8.9/libs/external/fluid2d.xtm
  • send-fluid-row-osc    xtlang    /digego/extempore/tree/v0.8.9/libs/external/fluid2d.xtm
  • send-midi-cc    scheme    /digego/extempore/tree/v0.8.9/libs/external/portmidi.xtm
  • send-skel    scheme    /digego/extempore/tree/v0.8.9/examples/contrib/kinect_fire.xtm
  • send-skeleton-osc    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/kinect.xtm
  • send_outgoing_walkers    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/mpi/random-walk.xtm
  • send_process_message    xtlang    /digego/extempore/tree/v0.8.9/libs/external/cef/cef.xtm
  • send_response    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/nanomsg-reply.xtm
  • send_response    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/nanomsg-respondent.xtm
  • send_survey    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/nanomsg-surveyor.xtm
  • sender    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/nanomsg.xtm
  • sender    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/nanomsg.xtm
  • set_up_request_socket    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/nanomsg.xtm