adding form field web fonts timeout

This commit is contained in:
Julien Neuhart
2019-02-01 09:40:16 +01:00
parent f9fb97a572
commit 571c3e04c4
12 changed files with 98 additions and 43 deletions

View File

@@ -78,6 +78,11 @@ func (html *HTMLRequest) SetLandscape(isLandscape bool) {
html.values[landscape] = strconv.FormatBool(isLandscape)
}
// SetWebFontsTimeout sets webFontsTimeout form field.
func (html *HTMLRequest) SetWebFontsTimeout(timeout int64) {
html.values[webFontsTimeout] = strconv.FormatInt(timeout, 10)
}
func (html *HTMLRequest) getPostURL() string {
return "/convert/html"
}