Property | Type | Description | |
---|---|---|---|
_onlineSession | TableauServerSignIn, |
Method | Description | |
---|---|---|
TableauServerSignedInRequestBase ( TableauServerSignIn, login ) : System |
Constructor
|
Method | Description | |
---|---|---|
CreateAndSendMimeLoggedInRequest ( string url, string protocol, MimeWriterBase, mimeToSend, Nullable |
Creates a web request with a MIME payload and send it to server
|
|
CreateLoggedInWebClient ( ) : WebClient |
Web client class used for downloads from Tableau Server
|
|
CreateLoggedInWebRequest ( string url, string protocol = "GET", Nullable |
Creates a web request and appends the user credential tokens necessary
|
|
DownloadFile ( string urlDownload, string downloadToDirectory, string baseFilename, DownloadPayloadTypeHelper, downloadTypeMapper ) : string |
Download a file
|
|
GetWebReponseLogErrors ( WebRequest webRequest, string description ) : WebResponse |
Get the web response; log any error codes that occur and rethrow the exception. This allows us to get error log data with detailed information
|
Method | Description | |
---|---|---|
AppendLoggedInHeadersForRequest ( WebHeaderCollection webHeaders ) : void |
Adds header information that authenticates the request to Tableau Online
|
|
AttemptToLogWebException ( WebException webException, string description, TaskStatusLogs, onlineStatusLog ) : void |
Attempt to log any detailed information we find about the failed web request
|
|
DownloadFile_inner ( string urlDownload, string downloadToDirectory, string baseFilename, DownloadPayloadTypeHelper, downloadTypeMapper ) : string |
Downloads a file
|
protected CreateAndSendMimeLoggedInRequest ( string url, string protocol, MimeWriterBase, mimeToSend, Nullable |
||
url | string | |
protocol | string | e.g. "PUT" "POST" |
mimeToSend | MimeWriterBase, | Mime data we are goign to send |
requestTimeout | Nullable |
|
return | WebRequest |
protected CreateLoggedInWebClient ( ) : WebClient | ||
return | WebClient |
protected CreateLoggedInWebRequest ( string url, string protocol = "GET", Nullable |
||
url | string | |
protocol | string | |
requestTimeout | Nullable |
Useful for specifying timeouts for operations that can take a long time |
return | WebRequest |
protected DownloadFile ( string urlDownload, string downloadToDirectory, string baseFilename, DownloadPayloadTypeHelper, downloadTypeMapper ) : string | ||
urlDownload | string | |
downloadToDirectory | string | |
baseFilename | string | |
downloadTypeMapper | DownloadPayloadTypeHelper, | |
return | string |
protected GetWebReponseLogErrors ( WebRequest webRequest, string description ) : WebResponse | ||
webRequest | WebRequest | |
description | string | |
return | WebResponse |
public TableauServerSignedInRequestBase ( TableauServerSignIn, login ) : System | ||
login | TableauServerSignIn, | |
return | System |