Usage ¶
getStatus(session
: hapi.Session, status_type
: hapi.statusType) → int
Gives back the status code for a specific status type.
session
The session of Houdini you are interacting with. See hapi.Session for more on sessions. Pass None to just use the default in-process session.
status_type
One of hapi.statusType.
Returns status as a int
.