namespace Http enum HttpConnectionState INIT = 0 ' initial state; shouldn't last long RECV_REQUEST = 1 ' receiving request SEND_HEADER = 2 ' sending generated header SEND_RESPONSE = 3 ' sending response DONE = 4 ' response sent, close or reuse as indicated end enum end namespace