Skip to content

306 Switch Proxy

No longer used, originally meant to tell a client to switch proxies.

Do not use this. It is no longer used.

import { HttpCode, get } from 'shokupan';
export const getResource = get('/resource', () => {
return { message: 'Switch Proxy' };
}).pipe(HttpCode(306));