# Public Function SetHTTPProxy(proxyHost As String, proxyPort As Integer)

**Defined in**

&#x20;`SwPDFSettings`

**Syntax**

&#x20;`swPDFCreator.PDFSettings`**`.`**`SetHTTPProxy("myproxy.com", 1589)`

**Parameters**

&#x20;`proxyHost`

&#x20;String. Used to set proxy server address if HTTP resources are routed over proxy.

&#x20;`proxyPort`

&#x20;Integer. Used to set proxy server port if HTTP resources are routed over proxy.

**Return value**

&#x20;Function does not return any value.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.swingsoftware.com/pdf-converter-for-notes/for-developers/lotusscript-api-reference/class-swpdfsettings/public-function-sethttpproxy-proxyhost-as-string-proxyport-as-integer.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
