OpenCoD2-Plus
Call of Duty 2 client & server, rebuilt
Loading...
Searching...
No Matches
http_test.py File Reference

Classes

class  http_test.State
class  http_test.HttpHandler
class  http_test.HttpServer
class  http_test.WsHandler
class  http_test.WsServer
class  http_test.Pinger

Namespaces

namespace  http_test

Functions

 http_test.ws_frame (opcode, payload, fin=True)
 http_test.make_certs (folder)
 http_test.tls_context (folder, name, max_version=None)
 http_test.start (server)
 http_test.wait_line (path, pattern, seconds)
 http_test.main ()

Variables

 http_test.ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
str http_test.MOD = 'httptest'
str http_test.CALLBACKS = 'maps/mp/gametypes/_callbacksetup.gsc'
str http_test.MARKER = '[[level.callbackStartGameType]]();'
str http_test.HOOK = 'thread maps\\mp\\gametypes\\_httptest::main();'
str http_test.WS_GUID = '258EAFA5-E914-47DA-95CA-C5AB0DC85B11'
str http_test.ERROR_CALLBACK
str http_test.TEST_SCRIPT
 http_test.STATE = State()
dict http_test.RAW_RESPONSES