public EventHttpMultiworkerListener(EventHttpListener.RequestCallback cb, int workers) { if (workers < 1) throw new ArgumentException("Invalid number of workers"); _cb = cb; _workerCount = workers; }
public EventHttpMultiworkerListener(EventHttpListener.RequestCallback cb, int workers) { if (workers < 1) { throw new ArgumentException("Invalid number of workers"); } _cb = cb; _workerCount = workers; }