omnipath_cache_key: Generates a hash which identifies an element in the cache...

omnipath_cache_keyR Documentation

Generates a hash which identifies an element in the cache database

Description

Generates a hash which identifies an element in the cache database

Usage

omnipath_cache_key(url, post = NULL, payload = NULL)

Arguments

url

Character vector with URLs

post

List with the HTTP POST parameters or a list of lists if the url vector is longer than 1. NULL for queries without POST parameters.

payload

HTTP data payload. List with multiple items if the url vector is longer than 1. NULL for queries without data.

Value

Character vector of cache record keys.

Examples

bioc_url <- 'https://bioconductor.org/'
omnipath_cache_key(bioc_url)
# [1] "41346a00fb20d2a9df03aa70cf4d50bf88ab154a"


saezlab/OmnipathR documentation built on May 3, 2024, 5:32 a.m.