您最多能選擇 25 個主題
主題必須以字母或數字為開頭,可包含連接號「-」且最長為 35 個字元。
23 行
715 B
23 行
715 B
5 年前
|
% Generated by roxygen2: do not edit by hand
|
||
|
% Please edit documentation in R/set-transports.R
|
||
|
\name{gdns_set_transports}
|
||
|
\alias{gdns_set_transports}
|
||
|
\title{Specifies what transport(s) is/ar used for DNS lookups}
|
||
|
\usage{
|
||
|
gdns_set_transports(gctx, transports = c("tls", "udp", "tcp"))
|
||
|
}
|
||
|
\arguments{
|
||
|
\item{gctx}{gdns resolver context created with \code{\link[=gdns_resolver]{gdns_resolver()}}}
|
||
|
|
||
|
\item{transports}{character vector of any/all of "\code{udp}", "\code{tcp}" or "\code{tls}".
|
||
|
Order matters as it specifies that the library will use to try to
|
||
|
perform the lookups.}
|
||
|
}
|
||
|
\description{
|
||
|
Specifies what transport(s) is/ar used for DNS lookups
|
||
|
}
|
||
|
\examples{
|
||
|
x <- gdns_context()
|
||
|
x <- gdns_set_transports(x, "tls")
|
||
|
}
|