AsyncDNS-cr  Diff

Differences From Artifact [05324bedeb]:

To Artifact [d2b49f7ae9]:


1
2
3
4
5
6
7
8
9
10
11
12
13
14
require "./rr"

module AsyncDNS
  class Response
    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




|




|
|



1
2
3
4
5
6
7
8
9
10
11
12
13
14
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