def set_shutdown(self, state):
if not isinstance(state, integer_types):<EOL><INDENT>raise TypeError("<STR_LIT>")<EOL><DEDENT>_lib.SSL_set_shutdown(self._ssl, state)<EOL>
Set the shutdown state of the Connection.

:param state: bitvector of SENT_SHUTDOWN, RECEIVED_SHUTDOWN.
:return: None