# encoding: utf-8
require 'ting_yun/support/http_clients/uri_util'
module TingYun
  module Http
    class AbstractRequest
      ERROR_MESSAGE = 'Subclasses of TingYun::Http::AbstractRequest must implement a '.freeze

      def []
        raise NotImplementedError, ERROR_MESSAGE + ':[] method'
      end

      def []=
        raise NotImplementedError, ERROR_MESSAGE + ':[]= method'
      end

      def from
        raise NotImplementedError, ERROR_MESSAGE + ':from method'
      end

      def port
        ""
      end

      def host
        ""
      end

      def path
        ""
      end


    end
  end
end