AsyncDNS-cr  Diff

Differences From Artifact [96a20ec37e]:

To Artifact [05324bedeb]:


1
2
3
4
5




6
7
8
9
10
11
1
2
3
4

5
6
7
8
9
10
11
12
13
14




-
+
+
+
+






require "./rr"

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

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