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