The package won't work with server side routes because `checkSelf` relies on `self.connection` which is `undefined` for server only routes. In this case headers could be read from `this.request.headers` and used later in `getClientIP`, `get` and other methods.
The package won't work with server side routes because
checkSelfrelies onself.connectionwhich isundefinedfor server only routes.In this case headers could be read from
this.request.headersand used later ingetClientIP,getand other methods.