AsyncDNS-cr  response.cr at [86ae1b8057]

File src/response.cr artifact d2b49f7ae9 part of check-in 86ae1b8057


require "./rr"

module AsyncDNS
  class Response
    property domain : String
    property answer : Array(RR)
    property authority : Array(RR)
    property additional : Array(RR)

    def initialize(@domain : String, @answer : Array(RR),
                   @authority : Array(RR), @additional : Array(RR))
    end
  end
end