|
|
@@ -119,6 +119,9 @@ class HttpClient: |
|
|
|
class Module: |
|
|
|
'''An abstract base class for a module.''' |
|
|
|
|
|
|
|
name: typing.Optional[str] = None |
|
|
|
'''The name of the module. Modules without a name are ignored, and names must be unique.''' |
|
|
|
|
|
|
|
@staticmethod |
|
|
|
def matches(inputUrl: InputURL) -> bool: |
|
|
|
'''Whether or not this module is for handling `inputUrl`.''' |
|
|
|