File

server.lua @ 492:22844ac3be4e

server: Import one of Prosodys net.server implementations Wraps up this behavior in a new module.
author Kim Alvefur <zash@zash.se>
date Wed, 21 Jun 2023 12:21:09 +0200
line wrap: on
line source

local have_epoll, server_epoll = pcall(require, "prosody.net.server_epoll");
if have_epoll then return server_epoll; end

local server_select = require "prosody.net.server_select";
return server_select;