Đã Đóng

WordPress function needed for non-blocking REST request.

I'm making a call to an internal endpoint in order to try and speed up a task.

I don't need to wait for the task (that awaits at that endpoint) to complete for my script to move on, but it's still waiting to finish. I'm using the following:

$argsForRequest = array(

'agency_code' => '1234',

'another_param_here' => $myVar,

'timeout' => 0.01,

'blocking' => false,

'sslverify' => false,


$request = new WP_REST_Request( 'POST', '/my/custom/endpoint' );

$request->set_query_params( $argsForRequest );

$response = rest_do_request( $request );

I'd like for someone to show me how to make this request non-blocking.


Kĩ năng: PHP, WordPress, JavaScript, MySQL, Kiến trúc phần mềm

Xem nhiều hơn: call member function remove_current_page non object, non blocking driver object, non blocking connect socket, wordpress rest api endpoints, wp-async-task, how to call api in wordpress, wordpress backend processing, wordpress rest api authentication, wordpress enable rest api, wordpress long running script, wordpress rest api example, call member function recordcount non object, fatal error call member function set_file non object, wordpress blog needed, wordpress theme needed, async socket non blocking, wordpress developers needed, wordpress designer needed, website needed non profit organization, non blocking server linux

Về Bên Thuê:
( 0 nhận xét ) Los Angeles, United States

ID dự án: #27902978

7 freelancer chào giá trung bình $21/giờ cho công việc này


Hi I am confident that I can do this job and get it done, Lets get started and discuss in depth. Looking forward for your reply. Thanks-

$22 USD / giờ
(297 Nhận xét)

Hi, I have read your post and understood your requirement. Looking for the freelancer to work on your next project? Or just need some issues/bugs/fixes ASAP? I have 11+ years of software experience in fortune 500 comp Thêm

$25 USD / giờ
(125 Nhận xét)

Hello. Wordpress development expert ready to help you with API call customization. I have more 400 good reviews and more 9 years of development experience behind, so all will be done with best quality and timeframe. F Thêm

$20 USD / giờ
(593 Nhận xét)
(219 Nhận xét)

Dear, client. checked (WordPress function needed for non-blocking REST request.) I am expert in JavaScript, MySQL, PHP, Software Architecture, WordPress and have 10 years experience. So I can be the best developer Thêm

$17 USD / giờ
(51 Nhận xét)

I can help with the speed optimization part. You're losing 11% traffic and 7% conversions for every extra second of load time. I am an expert in this specific field of speed optimization and own a company from Romania Thêm

$20 USD / giờ
(44 Nhận xét)

Hello, dear! I am really glad to see you here! I have many experience with wordpress 4+ years. I am skillful with wordpress themes and plugins. And also I have some friends with good web and app skills. We will do an Thêm

$20 USD / giờ
(0 Nhận xét)