file_descriptor A file descriptor. It cannot be created directly. This type is not available on Windows. Functions close(self) Closes the file descriptor w/o waiting for the GC. It can only be called once. dup(self) → file_descriptor Creates a new file descriptor that refers to the same open file description. cap_get(self) → system.linux_capabilities See cap_get_fd(3). cap_set(self, caps: system.linux_capabilities) See cap_set_fd(3). Metamethods __tostring() Produces a string in the format "/dev/fd/%i" where "%i" is the integer value as seen by the OS. websocket