omnipath_cache_key {OmnipathR} | R 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"

[Package OmnipathR version 3.2.0 Index]