NET 5.0 WebAPI and a React application bootstrapped with create-react-app. The example application is split into two projects a. If you would like to run the application behind a reverse proxy, set SLSK_BASE_PATH to your proxied path.įor convenience, two scripts, run and start, have been included in examples/Web/bin for running the example interactively and as a daemon, respectively. Setting this option to false will disable the prompt. Supply the values you specified for the SLSK_USERNAME and SLSK_PASSWORD fields. If SLSK_ENABLE_SECURITY is true, you will be prompted to log in. The application shouldn't have any trouble connecting provided you've forwarded port 50000 properly, and will receive and respond to distributed search requests. With this configuration the application will listen on port 50000 and will connect to the distributed network, allowing up to 10 child connections. Running with DockerĪ Docker image containing the application can be pulled from jpdillingham/slsk-web-example. It's also important to note that some displays in the application poll the daemon for updates this is inefficient, and you really shouldn't use this application over a mobile data connection. With this in mind, consider sharing a small number of files from the example. It's important to note that there are currently no controls over uploads anything you share can be downloaded by any number of people at any given time. Included is a small web application which serves as an example. Note that the example application as been superseded by slskd and will no longer be maintained. The external interface of the library is sparse and well documented the best resource is the code itself. Note: Download to a stream where possible to reduce memory overhead. DownloadAsync (username : "some username ", filename : "some fully qualified filename ", outputStream : fs, size : 42 ) Var fs = new FileStream ( "c: \downloads \local filename ", FileMode.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |