Skip to content

Commit

Permalink
Merge pull request #1217 from plenarius/http_client_server_plugin
Browse files Browse the repository at this point in the history
New Plugin: HTTP Client
  • Loading branch information
plenarius authored Aug 16, 2024
2 parents 2919e0a + 5b4fb65 commit 249580a
Show file tree
Hide file tree
Showing 6 changed files with 10,462 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ https://github.com/nwnxee/unified/compare/build8193.36.12...HEAD

##### New Plugins
- Store: Enables getting and setting store data.
- HTTPClient: Perform HTTP Action like POST and GET and return responses.

##### New NWScript Functions
- Util: GetModuleTlkFile()
Expand Down
8 changes: 8 additions & 0 deletions Plugins/HTTPClient/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
find_package(OpenSSL)

if (${OPENSSL_FOUND})
add_plugin(HTTPClient HTTPClient.cpp)
add_definitions(-DCPPHTTPLIB_OPENSSL_SUPPORT)
target_link_libraries(HTTPClient ${OPENSSL_LIBRARIES})
target_include_directories(HTTPClient PUBLIC ${OPENSSL_INCLUDE_DIR})
endif()
Loading

0 comments on commit 249580a

Please sign in to comment.