malcolm.modules.web.blocks

malcolm.modules.web.blocks.web_server_block(mri, port=8008, subnet_validation=1)
Parameters:
  • mri (str) – Malcolm resource id of the Block
  • port (int) – Port number to run up under
  • subnet_validation (int) – If non-zero, check any client is in the same subnet as the host
malcolm.modules.web.blocks.websocket_client_block(mri, port=8008)
Parameters:
  • mri (str) – Malcolm resource id of the Block
  • port (int) – Port number to run up under