Session *sn is the Session.
Request *rq is the Request.
The Session and Request parameters are the same as the ones passed into your SAF.
int n is an HTTP status code constants above.
char *r is the reason string.