This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env ucode | |
| import { fdopen } from "fs"; | |
| import { create, AF_INET6, SOCK_DGRAM, SOL_SOCKET, SO_RCVTIMEO } from "socket"; | |
| const MAXLEN = 4096; | |
| const TIMEOUT = 10000; | |
| function b64url_decode(s) { | |
| if (!s) return null; | |
| s = replace(s, "-", "+"); |
OlderNewer