Response with code 403 to specific client?

I’m using onHTTPStreamerRequest , to inspect http streaming requests, is there any way to send response with forbiden http code 403 , if some conditions are met??