MCPcopy Create free account

hub / github.com/boazsegev/iodine / functions

Functions1,281 in github.com/boazsegev/iodine

Functionhttp1_on_pause
* Called befor a pause task, */
ext/iodine/http1.c:252
Functionhttp1_on_ready
called when the connection was closed, but will not run concurrently */
ext/iodine/http1.c:746
Functionhttp1_on_request
called when a request was received. */
ext/iodine/http1.c:552
Functionhttp1_on_response
called when a response was received. */
ext/iodine/http1.c:561
Functionhttp1_on_resume
* called after the resume task had completed. */
ext/iodine/http1.c:261
Functionhttp1_push_data
Push for data - unsupported. */
ext/iodine/http1.c:233
Functionhttp1_push_file
Push for files - unsupported. */
ext/iodine/http1.c:242
Functionhttp1_send_body
Should send existing headers and data */
ext/iodine/http1.c:177
Functionhttp1_sendfile
Should send existing headers and file */
ext/iodine/http1.c:190
Functionhttp1_sse_close
* Closes an EventSource (SSE) connection. */
ext/iodine/http1.c:522
Functionhttp1_sse_on_close
ext/iodine/http1.c:444
Functionhttp1_sse_on_ready
ext/iodine/http1.c:431
Functionhttp1_sse_on_shutdown
ext/iodine/http1.c:437
Functionhttp1_sse_ping
ext/iodine/http1.c:450
Functionhttp1_sse_write
* Writes data to an EventSource (SSE) connection. * * See the {struct http_sse_write_args} for possible named arguments. */
ext/iodine/http1.c:515
Functionhttp1_upgrade2sse
* Upgrades an HTTP connection to an EventSource (SSE) connection. * * Thie `http_s` handle will be invalid after this call. * * On HTTP/1.1 connec
ext/iodine/http1.c:464
Functionhttp1_websocket_client_on_failed
ext/iodine/http1.c:306
Functionhttp1_websocket_client_on_hangup
ext/iodine/http1.c:313
Functionhttp1_websocket_client_on_upgrade
ext/iodine/http1.c:291
Methodhttp_client
spec/support/iodine_server.rb:7
Functionhttp_decode_path_unsafe
ext/iodine/http.c:2482
Functionhttp_decode_url_unsafe
ext/iodine/http.c:2443
Methodhttp_get
(path, *args)
spec/support/iodine_server.rb:11
Functionhttp_lib_cleanup
ext/iodine/http_internal.c:154
Functionhttp_lib_constructor
ext/iodine/http_internal.c:147
Functionhttp_lib_init
ext/iodine/http_internal.c:197
Functionhttp_mimetype_register
Registers a Mime-Type to be associated with the file extension. */
ext/iodine/http.c:2517
Functionhttp_on_client_failed
ext/iodine/http.c:1009
Functionhttp_on_close_client
ext/iodine/http.c:967
Functionhttp_on_finish
ext/iodine/http.c:903
Functionhttp_on_open
ext/iodine/http.c:899
Functionhttp_on_open_client
ext/iodine/http.c:1005
Functionhttp_on_request_fallback
ext/iodine/http.c:803
Functionhttp_on_response_fallback
ext/iodine/http.c:809
Functionhttp_on_upgrade_fallback
ext/iodine/http.c:804
Functionhttp_parse_body
* Attempts to decode the request's body. * * Supported Types include: * * application/x-www-form-urlencoded * * application/json * * multipart/fo
ext/iodine/http.c:1928
Functionhttp_parse_cookies
Parses any Cookie / Set-Cookie headers, using the `http_add2hash` scheme. */
ext/iodine/http.c:1538
Functionhttp_pause
* Defers the request / response handling for later. */
ext/iodine/http.c:759
Functionhttp_pause_wrapper
perform the pause task outside of the connection's lock */
ext/iodine/http.c:728
Functionhttp_paused_udata_get
Returns the `udata` associated with the paused opaque handle */
ext/iodine/http.c:715
Functionhttp_paused_udata_set
* Sets the `udata` associated with the paused opaque handle, returning the * old value. */
ext/iodine/http.c:721
Methodhttp_post
(path, *args)
spec/support/iodine_server.rb:15
Functionhttp_push_data
* Pushes a data response when supported (HTTP/2 only). * * Returns -1 on error and 0 on success. */
ext/iodine/http.c:664
Functionhttp_push_file
* Pushes a file response when supported (HTTP/2 only). * * If `mime_type` is NULL, an attempt at automatic detection using * `filename` will be mad
ext/iodine/http.c:678
Functionhttp_req2str
* Returns a String object representing the unparsed HTTP request (HTTP * version is capped at HTTP/1.1). Mostly usable for proxy usage and * debuggi
ext/iodine/http.c:1991
Functionhttp_resume
* Defers the request / response handling for later. */
ext/iodine/http.c:779
Functionhttp_resume_fallback_wrapper
perform the resume task fallback */
ext/iodine/http.c:748
Functionhttp_resume_wrapper
perform the resume task within of the connection's lock */
ext/iodine/http.c:734
Functionhttp_sse_close
* Closes an EventSource (SSE) connection. */
ext/iodine/http.c:1393
Functionhttp_sse_dup
* Duplicates an SSE handle by reference, remember to http_sse_free. * * Returns the same object (increases a reference count, no allocation is made)
ext/iodine/http.c:1406
Functionhttp_sse_free
* Frees an SSE handle by reference (decreases the reference count). */
ext/iodine/http.c:1414
Functionhttp_sse_on_message
The on message callback. the `*msg` pointer is to a temporary object. */
ext/iodine/http.c:1236
Functionhttp_sse_on_message__direct
ext/iodine/http.c:1253
Functionhttp_sse_on_unsubscribe
An optional callback for when a subscription is fully canceled. */
ext/iodine/http.c:1260
Functionhttp_sse_set_timout
* Sets the ping interval for SSE connections. */
ext/iodine/http.c:1344
Functionhttp_sse_subscribe
* Subscribes to a channel. See {struct http_sse_subscribe_args} for possible * arguments. * * Returns a subscription ID on success and 0 on failure
ext/iodine/http.c:1284
Functionhttp_sse_unsubscribe
* Cancels a subscription and invalidates the subscription object. */
ext/iodine/http.c:1312
Functionhttp_tests
ext/iodine/http.c:2736
Functioninit_arena_last_used_key
ext/iodine/fio.c:7941
Functioninit_buffer_key
ext/iodine/http.c:2554
Functioninit_cached_key
ext/iodine/http.c:2343
Functioninit_each_at_key
ext/iodine/fiobj_hash.c:76
Functioninit_fio_thread_data_key
ext/iodine/fio.c:870
Functioninit_float_ret_key
ext/iodine/fiobj_numbers.c:209
Functioninit_iodine_GVL_state_key
ext/iodine/iodine_caller.c:12
Functioninit_num_ret_key
ext/iodine/fiobj_numbers.c:155
Functioninit_num_str_buffer_key
ext/iodine/fiobj_numbers.c:243
Functioninit_num_vt_buffer_key
ext/iodine/fiobj_numbers.c:40
Functioninit_rack_io
initialize library
ext/iodine/iodine_rack_io.c:241
Functioninit_s_c_key
ext/iodine/fio.c:8349
Functioninit_static_throttle_key
ext/iodine/fio.c:1004
Functioninit_str_tmp_key
ext/iodine/fiobj_str.c:183
Functionint(mustache_build)
* This function reviews the instructions listed at the end of the mustache_s * and performs any callbacks necessary. * * The `mustache_s` data is l
ext/iodine/mustache_parser.h:1018
Functioniodine_call
Calls a Ruby method on a given object, protecting against exceptions. */
ext/iodine/iodine_caller.c:143
Functioniodine_call2
Calls a Ruby method on a given object, protecting against exceptions. */
ext/iodine/iodine_caller.c:156
Functioniodine_call_block
Calls a Ruby method on a given object, protecting against exceptions. */
ext/iodine/iodine_caller.c:169
Functioniodine_cli_parse
* Parses the CLI argnumnents, returning the Rack filename (if provided). * * Unknown arguments are ignored. * * @params [String] desc a String con
ext/iodine/iodine.c:340
Functioniodine_connect
clang-format off The {connect} method instructs iodine to connect to a server using either TCP/IP or Unix sockets. Iodine.connect(settings) Sup
ext/iodine/iodine.c:1299
Functioniodine_connection_data_alloc_c
Iodine::PubSub::Engine.allocate */
ext/iodine/iodine_connection.c:129
Functioniodine_connection_data_mark
a callback for the GC (marking active objects) */
ext/iodine/iodine_connection.c:91
Functioniodine_connection_data_size
ext/iodine/iodine_connection.c:111
Functioniodine_connection_env
* Returns the connection's `env` (if it originated from an HTTP request). */
ext/iodine/iodine_connection.c:332
Functioniodine_connection_handler_get
* Returns the client's current callback object. */
ext/iodine/iodine_connection.c:343
Functioniodine_connection_handler_set
clang-format off * Sets the client's callback object, so future events will use the new object's callbacks. * * @Note this will fire the `on_close`
ext/iodine/iodine_connection.c:360
Functioniodine_connection_is_open
Returns true if the connection appears to be open (no known issues). */
ext/iodine/iodine_connection.c:240
Functioniodine_connection_is_pubsub
* Always returns true, since Iodine connections support the pub/sub extension. */
ext/iodine/iodine_connection.c:251
Functioniodine_connection_new
ext/iodine/iodine_connection.c:766
Functioniodine_connection_pending
* Returns the number of pending `write` operations that need to complete * before the next `on_drained` callback is called. * * Returns -1 if the c
ext/iodine/iodine_connection.c:262
Functioniodine_connection_protocol_name
clang-format off * Returns the connection's protocol Symbol (`:sse`, `:websocket` or `:raw`). * * @Note For compatibility reasons (with ther `rack.u
ext/iodine/iodine_connection.c:276
Functioniodine_connection_timeout_get
* Returns the timeout / `ping` interval for the connection. * * Returns nil on error. */
ext/iodine/iodine_connection.c:300
Functioniodine_connection_timeout_set
* Sets the timeout / `ping` interval for the connection (up to 255 seconds). * * Returns nil on error. */
ext/iodine/iodine_connection.c:314
Functioniodine_connection_write
* Writes data to the connection asynchronously. `data` MUST be a String. * * In effect, the `write` call does nothing, it only schedules the data to
ext/iodine/iodine_connection.c:170
Functioniodine_copy2env_task
ext/iodine/iodine_http.c:258
Functioniodine_defer_on_finish
Performs any cleanup before worker dies */
ext/iodine/iodine_defer.c:383
Functioniodine_defer_performe_once
ext/iodine/iodine_defer.c:177
Functioniodine_defer_run_after
Runs the required block after the specified number of milliseconds have passed. Time is counted only once Iodine started running (using {Iodine.start}
ext/iodine/iodine_defer.c:218
Functioniodine_defer_run_every
clang-format off Runs the required block after the specified number of milliseconds have passed. Time is counted only once Iodine started running (usi
ext/iodine/iodine_defer.c:263
Functioniodine_defer_run_timer
ext/iodine/iodine_defer.c:183
Functioniodine_handle_request_in_GVL
ext/iodine/iodine_http.c:660
Functioniodine_in_GVL
Returns the GVL state flag. */
ext/iodine/iodine_caller.c:190
← previousnext →1,001–1,100 of 1,281, ranked by callers