1
2
3
4
5
6
7
8
9
10
11
|
require "./rr"
module AsyncDNS
class Response
property :name, :answer, :authority, :additional
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 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
|