There is one service worker for one tab, if you open two tabs for the same site, there will be two service workers.
Misunderstanding
I hereby claim:
To claim this, I am signing this object:
| Name | URL | Features | Data privacy | Integration | Comments | |
|---|---|---|---|---|---|---|
| PlantUML | class, use case, activity, sequence, etc. | Server side rendering\nNo data stored | Confluence, Google Docs, JetBrains IDEs, VS Code, etc. | Most well-known tools of this kind | ||
| yUML | class, use case |
| @import url('https://fonts.googleapis.com/css?family=Shadows+Into+Light+Two'); | |
| #diagram .message { | |
| border-bottom: blue 2px solid; | |
| border-bottom-left-radius:500px 20px; | |
| } | |
| #diagram .message.return { | |
| border-bottom: red 2px solid; | |
| border-bottom-right-radius: 500px 20px; |
| var httpClient = new HttpClient | |
| { | |
| BaseAddress = new Uri("http://localhost:1080"), | |
| DefaultRequestHeaders = {{"Connection", "close"}} | |
| }; | |
| var dcrApiClient = RestService.For<IMyApiClient>(httpClient); |
| mockServerClient("localhost", 1080) | |
| .mockAnyResponse({ | |
| "httpRequest": { "method": "GET", "path": "/status" }, | |
| "httpResponse": { "statusCode" : 200, "body": "{\"status\": \"OK\"}" }, | |
| "times": { | |
| "remainingTimes": 10, | |
| "unlimited": false | |
| }, | |
| } | |
| ); |
| var mockServerClient = require('mockserver-client').mockServerClient; | |
| mockServerClient("localhost", 1080) | |
| .mockAnyResponse({ | |
| "httpRequest": { "method": "GET", "path": "/status" }, | |
| "httpResponse": { "statusCode" : 200, "body": "{\"status\": \"OK\"}" } } | |
| ); |
| var mockserver = require('mockserver-node'); | |
| mockserver.start_mockserver({serverPort: 1080}); |
| // API client interface | |
| public interface IMyApiClient | |
| { | |
| [Get("/status")] | |
| Task<string> GetStatus(); | |
| } | |
| // Test code | |
| [Fact] | |
| public async Task Get_status() | |
| { |
| // Hello World | |
| ZenUML.Hello(World) | |
| // Simple RESTful API implementation | |
| BookController.get(bookId) { | |
| BookService.get(bookId) { | |
| BookRepository.findOne(bookId) | |
| } | |
| } |