beginConnect: (
req: any,
spec: any,
) =>
| {
binding?: undefined;
code: string;
handle?: undefined;
ok: boolean;
record?: undefined;
why: string;
}
| {
binding: any;
code?: undefined;
handle: string;
ok: boolean;
record: {};
why?: undefined;
}
| { binding: any; cookie: string; location: any; ok: boolean } = ...
Type Declaration
-
- (
req: any,
spec: any,
):
| {
binding?: undefined;
code: string;
handle?: undefined;
ok: boolean;
record?: undefined;
why: string;
}
| {
binding: any;
code?: undefined;
handle: string;
ok: boolean;
record: {};
why?: undefined;
}
| { binding: any; cookie: string; location: any; ok: boolean }
-
Returns
| {
binding?: undefined;
code: string;
handle?: undefined;
ok: boolean;
record?: undefined;
why: string;
}
| {
binding: any;
code?: undefined;
handle: string;
ok: boolean;
record: {};
why?: undefined;
}
| { binding: any; cookie: string; location: any; ok: boolean }