# Copyright (C) 2015-2019 by Vd.
# This file is part of RocketGram, the modern Telegram bot framework.
# RocketGram is released under the MIT License (see LICENSE).


import logging

from ..requests import Request
from ..update import Response

logger = logging.getLogger('rocketgram.connectors.baseconnector')


class BaseConnector:
    async def init(self):
        raise NotImplementedError

    async def shutdown(self):
        raise NotImplementedError

    async def send(self, url: str, request: Request) -> Response:
        raise NotImplementedError
