|  Developer
Updated on November 23, 2021

http_data_send

  • Notifies about ready to send the next portion of data of a request. max_data_length contains the maximum number of bytes that can be sent for the current script execution.
  • This event will be received after establishing a connection with the HTTP server and if last field was false in http.request() or http.repeat_request() methods. Also, this event can be triggered again if not all data were sent in this session.

NameTypeRequiredDescription
idstring+Unique ID of a request
urlstring+Full URL for making a connection (can contain custom port)
user_dataanyUser data that was passed to a http.request() call.
max_data_lengthint+Amount of data that can be sent per one script execution via http.send_data() method