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
  • curl_request    xtlang
  • curl_request_with_auth    xtlang
  • curl_request_with_header    xtlang
  • get_request_handler    xtlang
  • ghttp_copy_request_body_into_buffer    xtlang
  • ghttp_perform_request_with_setup_fn    xtlang
  • ghttp_print_request_body    xtlang
  • ghttp_print_request_full    xtlang
  • ghttp_print_request_headers    xtlang
  • ghttp_request_body_as_json    xtlang
  • io:osc:send    scheme
  • my_osc_send    xtlang
  • nnsock_set_send_timeout    xtlang
  • osc_send_one_double    xtlang
  • osc_send_two_double    xtlang
  • pm_send    xtlang
  • request    xtlang
  • rtmidi_send    xtlang
  • send-fluid-column-osc    xtlang
  • send-fluid-first-column-osc    xtlang
  • send-fluid-first-row-osc    xtlang
  • send-fluid-last-row-osc    xtlang
  • send-fluid-row-osc    xtlang
  • send-midi-cc    scheme
  • send-skel    scheme
  • send-skeleton-osc    xtlang
  • send_outgoing_walkers    xtlang
  • send_process_message    xtlang
  • send_response    xtlang
  • send_response    xtlang
  • send_survey    xtlang
  • sender    xtlang
  • sender    xtlang
  • set_up_request_socket    xtlang