MCPcopy
hub / github.com/shadowsocks/shadowsocks / DNSResponse

Class DNSResponse

shadowsocks/asyncdns.py:235–242  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

233
234
235class DNSResponse(object):
236 def __init__(self):
237 self.hostname = None
238 self.questions = [] # each: (addr, type, class)
239 self.answers = [] # each: (addr, type, class)
240
241 def __str__(self):
242 return '%s: %s' % (self.hostname, str(self.answers))
243
244
245STATUS_FIRST = 0

Callers 1

parse_responseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected