2
0
mirror of https://github.com/esiur/esiur-js.git synced 2026-03-18 15:30:38 +00:00
This commit is contained in:
2024-06-22 16:12:35 +03:00
parent c0e31662b7
commit 408d2237f4
8 changed files with 390 additions and 90 deletions

View File

@@ -29,7 +29,8 @@
import AuthenticationType from "./AuthenticationType.js";
import AuthenticationMethod from "./AuthenticationMethod.js";
import KeyList from "../../Data/KeyList.js";
import { UInt8 } from "../../Data/ExtendedTypes.js";
import TypedMap from "../../Data/TypedMap.js";
export default class Session
{
@@ -39,8 +40,8 @@ export default class Session
variables = new KeyList();
localHeaders = new Map();
remoteHeaders = new Map();
localHeaders = new (TypedMap.of(UInt8, Object))();
remoteHeaders = new (TypedMap.of(UInt8, Object))();
localMethod = AuthenticationMethod.None;
remoteMethod = AuthenticationMethod.None;