Signals | HTTP

These require you to run Steam.run_callbacks() in your _process() function to receive them.


http_request_completed

  • Result when an HTTP request completes. If you're using getHTTPStreamingResponseBodyData then you should be using the http_request_headers_received or http_request_data_received.
  • Sends back the following data:
    • cookie_handle (int)
    • context_value (int)
    • request_success (bool)
    • status_code (int)
    • body_zize (int)
    • cookie_handle (uint32)
    • context_value (uint64_t)
    • request_success (bool)
    • status_code (int)
    • body_zize (uint32)

http_request_data_received

  • Triggered when a chunk of data is received from a streaming HTTP request.
  • Sends back the following data:
    • cookie_handle (int)
    • context_value (int)
    • offset (int)
    • bytes_received (int)
    • cookie_handle (uint32)
    • context_value (uint64_t)
    • offset (uint32)
    • bytes_received (uint32)

http_request_headers_received

  • Triggered when HTTP headers are received from a streaming HTTP request.
  • Sends back the following data:
    • cookie_handle (int)
    • context_value (int)
    • cookie_handle (uint32)
    • context_value (uint64_t)