ndex_helper_httpResponseHandler | R Documentation |
This function handles the response from a server. If some response code different from success (200) is returned, the execution stops and the reason is shown.
ndex_helper_httpResponseHandler(response, description, verbose = FALSE)
response |
object of class response (httr) |
description |
character; description of the action performed |
verbose |
logical; whether to print out extended feedback |
returns the given respons, if it doesn't contain any HTTP error
This function is internal.
ndexr:::ndex_helper_httpResponseHandler(httr::GET('http://www.ndexbio.org'),
'Tried to connect to NDEx server', TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.