No cache version.
Caching disabled. Default setting for this page:enabled (code LNG204)
If the display is too slow, you can disable the user mode to view the cached version.
Swoole Functions
Table of Contents
- swoole_async_dns_lookup — Async and non-blocking hostname to IP lookup
- swoole_async_read — Read file stream asynchronously
- swoole_async_readfile — Read a file asynchronously
- swoole_async_set — Update the async I/O options
- swoole_async_write — Write data to a file stream asynchronously
- swoole_async_writefile — Write data to a file asynchronously
- swoole_client_select — Get the file description which are ready to read/write or error
- swoole_cpu_num — Get the number of CPU
- swoole_errno — Get the error code of the latest system call
- swoole_event_add — Add new callback functions of a socket into the EventLoop
- swoole_event_defer — Add callback function to the next event loop
- swoole_event_del — Remove all event callback functions of a socket
- swoole_event_exit — Exit the eventloop, only available at the client side
- swoole_event_set — Update the event callback functions of a socket
- swoole_event_wait — Start the event loop
- swoole_event_write — Write data to a socket
- swoole_get_local_ip — Get the IPv4 IP addresses of each NIC on the machine
- swoole_last_error — Get the lastest error message
- swoole_load_module — Load a swoole extension
- swoole_select — Select the file descriptions which are ready to read/write or error in the eventloop
- swoole_set_process_name — Set the process name
- swoole_strerror — Convert the Errno into error messages
- swoole_timer_after — Trigger a one time callback function in the future
- swoole_timer_exists — Check if a timer callback function is existed
- swoole_timer_tick — Trigger a timer tick callback function by time interval
- swoole_version — Get the version of Swoole
English translation
You have asked to visit this site in English. For now, only the interface is translated, but not all the content yet.If you want to help me in translations, your contribution is welcome. All you need to do is register on the site, and send me a message asking me to add you to the group of translators, which will give you the opportunity to translate the pages you want. A link at the bottom of each translated page indicates that you are the translator, and has a link to your profile.
Thank you in advance.
Document created the 30/01/2003, last modified the 26/10/2018
Source of the printed document:https://www.gaudry.be/en/php-rf-ref.swoole-funcs.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.
References
These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.