UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
TestServer Namespace Reference

Classes

class  Handler
 

Functions

 intercept (fd)
 
 make_preamble (line, headers)
 
 proxy_impl (client, httpd)
 
 proxy_client (client, httpd_port)
 
 proxy_loop (httpd_port)
 
 tls_proxy_loop (httpd_port, root_cert, *server_pems)
 
 _make_payload (size)
 
 http_seed (handler, value=0)
 
 http_data (handler, payload_size=0)
 
 http_chunked (handler, payload_size=0, *options)
 
 http_redirect (handler, style="abs", code=302, *dest)
 
 plain_httpd_loop (port, root_pem, corpus_thunk)
 
 gen_test_certs (openssl_bin)
 
 setup_corpus (args)
 
 main (args)
 

Variables

 payload_data = bytearray((x % (128 - 34)) + 33 for x in random.randbytes(2 << 20))
 
 parser = argparse.ArgumentParser(description="Test server to 'IasTool tests'")
 
 nargs
 
 default
 
 type
 
 int
 
 help
 
 action
 
 Path
 
 float
 
 args = parser.parse_args()
 

Function Documentation

◆ _make_payload()

TestServer._make_payload (   size)
protected

◆ gen_test_certs()

TestServer.gen_test_certs (   openssl_bin)

◆ http_chunked()

TestServer.http_chunked (   handler,
  payload_size = 0,
options 
)

◆ http_data()

TestServer.http_data (   handler,
  payload_size = 0 
)

◆ http_redirect()

TestServer.http_redirect (   handler,
  style = "abs",
  code = 302,
dest 
)

◆ http_seed()

TestServer.http_seed (   handler,
  value = 0 
)

◆ intercept()

TestServer.intercept (   fd)

◆ main()

TestServer.main (   args)

◆ make_preamble()

TestServer.make_preamble (   line,
  headers 
)

◆ plain_httpd_loop()

TestServer.plain_httpd_loop (   port,
  root_pem,
  corpus_thunk 
)

◆ proxy_client()

TestServer.proxy_client (   client,
  httpd_port 
)

◆ proxy_impl()

TestServer.proxy_impl (   client,
  httpd 
)

◆ proxy_loop()

TestServer.proxy_loop (   httpd_port)

◆ setup_corpus()

TestServer.setup_corpus (   args)

◆ tls_proxy_loop()

TestServer.tls_proxy_loop (   httpd_port,
  root_cert,
server_pems 
)

Variable Documentation

◆ action

TestServer.action

◆ args

TestServer.args = parser.parse_args()

◆ default

TestServer.default

◆ float

TestServer.float

◆ help

TestServer.help

◆ int

TestServer.int

◆ nargs

TestServer.nargs

◆ parser

TestServer.parser = argparse.ArgumentParser(description="Test server to 'IasTool tests'")

◆ Path

TestServer.Path

◆ payload_data

TestServer.payload_data = bytearray((x % (128 - 34)) + 33 for x in random.randbytes(2 << 20))

◆ type

TestServer.type