first commit
This commit is contained in:
commit
b6256abbfb
397 files changed
+537630
No files matched your search
Vendored
+27
@@ -0,0 +1,27 @@
|
||||
/**
|
||||
* LOCO Checkin — connects to the checkin server (e.g. ticket-loco.kakao.com:5242)
|
||||
* over TLS with plaintext LOCO (same as booking), sends CHECKIN, and returns
|
||||
* the LOCO session server host:port for the encrypted connection.
|
||||
*/
|
||||
export interface CheckinRequest {
|
||||
userId: number;
|
||||
os: string;
|
||||
ntype: number;
|
||||
appVer: string;
|
||||
lang: string;
|
||||
MCCMNC: string;
|
||||
}
|
||||
export interface CheckinResponse {
|
||||
/** LOCO session server host */
|
||||
host: string;
|
||||
/** LOCO session server port */
|
||||
port: number;
|
||||
/** Full raw response for debugging */
|
||||
raw: Record<string, unknown>;
|
||||
}
|
||||
/**
|
||||
* Connect to the checkin server via TLS + plaintext LOCO,
|
||||
* send CHECKIN, and return the LOCO session server address.
|
||||
*/
|
||||
export declare function fetchCheckinServer(checkinHost: string, checkinPort: number, serverPublicKey: string, req: CheckinRequest): Promise<CheckinResponse>;
|
||||
//# sourceMappingURL=checkin.d.ts.map
|
||||
Reference in new issue
Block a user