---
source: varnish-macros/src/tests.rs
---
<!--
!!!!!! WARNING: DO NOT EDIT THIS FILE!
This file was generated from the Varnish VMOD source code.
It will be automatically updated on each build.
-->
# Varnish Module (VMOD) `task`
```vcl
// Place import statement at the top of your VCL file
// This loads vmod from a standard location
import task;
// Or load vmod from a specific file
import task from "path/to/libtask.so";
```
### Function `VOID task.per_vcl_val()`
### Function `VOID task.per_vcl_opt([INT op])`
### Function `VOID task.per_tsk_val()`
### Function `VOID task.per_tsk_opt([INT op])`
### Constructor `task.PerVcl()`
#### Method `VOID <object>.both()`
#### Method `VOID <object>.both_pos(INT val)`
#### Method `VOID <object>.both_opt([INT opt])`