method

new

new(priority, weight, port, target)
public

Create a SRV resource record.

See the documentation for #priority, #weight, #port and #target for priority, weight, +port and target respectively.